1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

perl with proxy

Discussion in 'Perl' started by best_praveen, Jan 7, 2009.

  1. best_praveen

    best_praveen New Member

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

    pradeep Team Leader

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

Share This Page