in reply to Help with HTML::TableExtract
The error indicates that $content is undef. Perhaps you need to configure LWP to use a proxy?
The following excerpt is from the lwpcook POD:
(Update: added excerpt from lwpcook)use LWP::UserAgent; $ua = LWP::UserAgent->new; $ua->env_proxy; # initialize from environment variables # or $ua->proxy(ftp => 'http://proxy.myorg.com'); $ua->proxy(wais => 'http://proxy.myorg.com'); $ua->no_proxy(qw(no se fi)); my $req = HTTP::Request->new(GET => 'wais://xxx.com/'); print $ua->request($req)->as_string;
--
May the Source be with you.You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: HTML::TableExtract
by dcb0127 (Novice) on Sep 16, 2002 at 18:24 UTC |
In Section
Seekers of Perl Wisdom