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";