S
Shan
I use Privoxy an tor. The settings for my firefox web browser to
correctly use the proxy are as follows:
HTTP Proxy: localhost Port: 8118
SLS Proxy: localhost Port: 8118
FTP Proxy: localhost Port: 8118
Gopher Proxy: localhost Port: 8118
I want to know how I can use a proxy with perl
my $ua = LWP::UserAgent->new;
$ua->timeout(20);
$ua->env_proxy; # I dont know what to modify so that proxy works.
my $response = $ua->get('http://www.helpme.com');
if ($response->is_success)
{
my $html=$response->content;
}
I would appreciate it if you could help me use a proxy successfully
with perl. Thank you in advance.
correctly use the proxy are as follows:
HTTP Proxy: localhost Port: 8118
SLS Proxy: localhost Port: 8118
FTP Proxy: localhost Port: 8118
Gopher Proxy: localhost Port: 8118
I want to know how I can use a proxy with perl
my $ua = LWP::UserAgent->new;
$ua->timeout(20);
$ua->env_proxy; # I dont know what to modify so that proxy works.
my $response = $ua->get('http://www.helpme.com');
if ($response->is_success)
{
my $html=$response->content;
}
I would appreciate it if you could help me use a proxy successfully
with perl. Thank you in advance.