#!/sbcimp/run/pd/perl/5.6.1/bin/perl
use lib '/sbcimp/run/pd/cpan/5.6.1-2001.06/lib';
use LWP;
use HTTP::Request;
use URI;
$ua = LWP::UserAgent->new;
$ua->proxy('http' => '
$req = HTTP::Request->new('GET','$req->proxy_authorization_basic('my_username', 'my_password');
$res = $ua->request($req);
print $res->content if $res->is_success;
How can I see if that script runs successfully or fails. And if it fails , how can I find if the error is at the proxy level or somewhere else.
TIA
use lib '/sbcimp/run/pd/cpan/5.6.1-2001.06/lib';
use LWP;
use HTTP::Request;
use URI;
$ua = LWP::UserAgent->new;
$ua->proxy('http' => '
$req = HTTP::Request->new('GET','$req->proxy_authorization_basic('my_username', 'my_password');
$res = $ua->request($req);
print $res->content if $res->is_success;
How can I see if that script runs successfully or fails. And if it fails , how can I find if the error is at the proxy level or somewhere else.
TIA