use LWP::UserAgent; $ua = new LWP::UserAgent; $ua->proxy(http => 'http://proxy.mgisoft.com:80'); my $req = new HTTP::Request ('GET', 'http://www.yahoo.com/'); $page = $ua->request($req)->as_string; print $page;