Thread LWP::Simple Problem (13 answers)
Opened by userforusing at 2014-02-25 14:25

sri
 2014-03-02 19:00
#173782 #173782
User since
2004-01-29
828 Artikel
BenutzerIn
[Homepage] [default_avatar]
Code: (dl )
1
2
3
4
5
use Mojo::UserAgent;

my $ua = Mojo::UserAgent->new;
my $tx = $ua->get("http://de.wikipedia.org/wiki/Perl_(Programmiersprache)");
print $tx->res->dom->all_text;


Nimm doch einfach CPAN:Mojo::UserAgent und CPAN:Mojo::DOM.

View full thread LWP::Simple Problem