Subject: | Need to add HTTP proxy support for LWP::UserAgent |
Diff to fix:
--- Perlanet.pm 2009-10-28 20:14:39.000000000 +0000
+++ /home/edwarp11/perl5/lib/perl5/Perlanet.pm 2009-11-04
17:57:07.000000000 +0000
@@ -89,6 +89,7 @@
$self->ua(LWP::UserAgent->new( agent => $self->cfg->{agent} ||=
"Perlanet/$VERSION" ));
$self->ua->show_progress(1) if -t STDOUT;
+ $self->ua->env_proxy;
if ($self->cfg->{cache_dir}) {
eval { require CHI; };