Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: quick LWP question

by Mutant (Priest)
on Jun 23, 2009 at 15:58 UTC ( #774077=note: print w/ replies, xml ) Need Help??


in reply to quick LWP question

From the LWP::UserAgent POD:

The $netloc is a string of the form "<host>:<port>". The username and password will only be passed to this server
$netloc being the first param to credentials. So you need to remove the path and the preceding "http://" from the first param, and just use "hostname.domain.com:80".


Comment on Re: quick LWP question

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-09-01 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls