There's more than one way to do things | |
PerlMonks |
Re: quick LWP questionby Mutant (Priest) |
on Jun 23, 2009 at 15:58 UTC ( [id://774077]=note: print w/replies, xml ) | Need Help?? |
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".
In Section
Seekers of Perl Wisdom
|
|