Thread: perl with proxy
View Single Post
Team Leader
8Jan2009,15:57  
pradeep's Avatar
Code: Perl
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->agent("MyApp/0.1 ");
$ua->proxy(['http','ftp'] => 'http://proxy.mycompany.com:1080');