perl with proxy

best_praveen's Avatar, Join Date: Jan 2009
Newbie Member
Could any help me to access web site by LWP module in perl , through proxy
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Code: Perl
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->agent("MyApp/0.1 ");
$ua->proxy(['http','ftp'] => 'http://proxy.mycompany.com:1080');