I am unable to connect to any URL using LWP. I am behind a proxy! I've read usual trouble shoot tips but was unable to make things work.Follwoing is the code:
use LWP 5.64;
my $url = 'http://google.com';
# User Agent Object
my $browser = LWP::UserAgent->new;
# $browser->proxy([qw(http ftp)], 'http://google.com:80');
my $response = $browser->get( $url);
die "Couldn't get $url -- " ,$response->status_line
even if I comment out env_proxy and uncheck comment from
$browser->proxy([qw(http ftp)], 'http://google.com:80'
.It is not working.
Following are my proxy settings:
I am looking forward to your help :)