Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: LWP::Simple request through a proxy

by Anonymous Monk
on May 25, 2004 at 10:51 UTC ( [id://356166]=note: print w/replies, xml ) Need Help??


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:
# 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});
You can see I'm just interested in using mirror.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://356166]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2025-06-18 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.