use LWP::UserAgent;
#..... usual stuff .....#
$ua = new LWP::UserAgent;
$ua->proxy(['http', 'ftp'] => 'http://your_proxy.address.com:');
my $req = new HTTP::Request 'GET',
"http://www.perlmonks.org";
$req->proxy_authorization_basic("$user_name","$user_password");
$res = $ua->request($req);
(Obtained through Super Search for "LWP proxy password". Super Search is also your friend!) |