NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
success (Score:1)
In LWP OO terms:
use LWP; ...
my $resp = LWP::UserAgent->new->get($url);
die "GRAH! ", $resp->status_line unless $resp->is_success;
... HTML::TokeParser->new( $resp->content_ref )
Re:success (Score:1)
Can't locate object method "get" via package "LWP::UserAgent"(perhaps you forgot to load "LWP::UserAgent"?) at HTML/TokeParser/URL.pm line 18.
Re:success (Score:1)
Re:success (Score:1)
I guess I could manualy upgrade it manualy.
I did check this on a FreeBSD box, and it works! Thanks for the suggestion.
Re:success (Score:1)
Re:success (Score:1)
Thanks for your help.
Reply to This
Parent
Re:success (Score:1)