Just another Perl shrine | |
PerlMonks |
Forcing LWP-UserAgent to use a proxy server without modifying codeby mvaline (Friar) |
on Jan 04, 2008 at 17:54 UTC ( [id://660443]=perlquestion: print w/replies, xml ) | Need Help?? |
mvaline has asked for the wisdom of the Perl Monks concerning the following question:
My environment requires an HTTP proxy server. I am using modules that use LWP::UserAgent internally, but do not provide a programmatic way to set a proxy server.
I know that LWP::Simple will pay attention to the http_proxy environment variable, but LWP::UserAgent does not appear to do so. Is there a way I can force LWP::UserAgent within the modules I am using to use our proxy server without modifying their source code?
Back to
Seekers of Perl Wisdom
|
|