- or download this
use strict;
use warnings;
...
my $req = new HTTP::Request(GET => 'http://www.perlmonks.com/');
my $res = $ua->request($req);
print $res->content if ($res->is_success);
- or download this
use strict;
use warnings;
...
my $req = new HTTP::Request(GET => 'http://www.perlmonks.com/');
my $res = $ua->request($req);
print $res->content if ($res->is_success);
- or download this
function FindProxyForURL (url, host)
{
...
return "PROXY proxy.mycompany.intranet:8080";
}