There's more than one way to do things | |
PerlMonks |
Proxy with LWPby Sixtease (Friar) |
on Apr 23, 2008 at 06:09 UTC ( [id://682326]=perlquestion: print w/replies, xml ) | Need Help?? |
Sixtease has asked for the wisdom of the Perl Monks concerning the following question: Dear Monks, My CPAN module uses LWP::Simple in the make phase to gather required data. All works OK but now I received a request complaining that LWP::Simple fails to connect. I'll quote the comment: I am behind a proxy server, however my HTTP_PROXY enviroment variable, /etc/wgetrc and perl CPAN configuration reflects this and is configured correctly to use it. My question is: What is a good, simple and robust way to make the download process heed proxy settings? I'm not insisting on using LWP::Simple but I dread making a change to a distributed module that would make more damage than remedy. Thanks in advance and have a great day.
use strict; use warnings; print "Just Another Perl Hacker\n";
Back to
Seekers of Perl Wisdom
|
|