Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Perl (http://www.go4expert.com/forums/perl/)
-   -   perl with proxy (http://www.go4expert.com/forums/perl-with-proxy-t15753/)

best_praveen 7Jan2009 15:27

perl with proxy
 
Could any help me to access web site by LWP module in perl , through proxy

pradeep 8Jan2009 15:57

Re: perl with proxy
 
Code: Perl

use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->agent("MyApp/0.1 ");
$ua->proxy(['http','ftp'] => 'http://proxy.mycompany.com:1080');



All times are GMT +5.5. The time now is 18:00.