Subject: | LWP needs to allow for proxy |
Needs to allow for http_proxy in the environment to use web proxy.
Here's a diff to fix Bing/Search.pm
--- /home/edwarp11/.cpanm/latest-build/Bing-Search-
1.103490/lib/Bing/Search.pm 2010-12-15 06:53:30.000000000 +0000
+++ /home/edwarp11/perl_local1/lib/perl5/Bing/Search.pm 2011-05-06
16:11:47.000000000 +0000
@@ -59,6 +59,7 @@
$self->_make_uri;
$uri = $self->request_obj();
+ $self->agent->env_proxy;
my $response = $self->agent->get( $uri );
unless( $response->is_success ) {
croak "Failed request: $!";