Subject: | Net::Delicious doesn't work with http proxies |
Net::Delicious doesn't honor the usual environment variables to specify
http proxies. Fixing this is a simple matter of calling the LWP function
to read those from the environment:
--- Delicious.pm~ Sat May 28 11:08:55 2005
+++ Delicious.pm Sat May 28 11:20:23 2005
@@ -938,7 +938,7 @@
if (ref($self->{'__ua'}) ne "LWP::UserAgent") {
my $ua = LWP::UserAgent->new();
$ua->agent(sprintf("%s, %s",__PACKAGE__,$Net::Delicious::VERSION));
-
+ $ua->env_proxy();
$self->{'__ua'} = $ua;
}