Posted on 2008-01-05 04:54:12-08 by kbocek in response to 6809
Re: Proxy server
Check out the WWW::Mechanize FAQ. It looks like you are correct, my module as written won't work behind a proxy. If you are up to modifying the module you've installed, go to 'sub getyahoodata'. Right after the line:
my $q = WWW::Mechanize->new();
add the line recommended in the faq. For example:
$q->proxy(['http', 'ftp'], 'http://proxy.example.com:8000/');
Let me know if that works. If so, I'll address this issue in the next update. Kirk Bocek
Direct Responses: 6827 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.