in reply to Re: LWP::Simple request through a proxy
in thread LWP::Simple request through a proxy
Step two above is exactly what I wanted but I wasn't quite sure exactly what was required but I am now so for others for future reference:
You can see I'm just interested in using mirror.# use proxy (comment out if not) my %proxy = ( host => 'http://proxy:8080' ); use LWP::Simple qw(mirror RC_OK RC_NOT_MODIFIED $ua); $ua->proxy(http => "$proxy{host}") if (defined $proxy{host});
|
---|
In Section
Seekers of Perl Wisdom