Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Question on LWP::UserAgent attribute - $ua->credentials()

by Herkum (Parson)
on Jul 05, 2006 at 11:37 UTC ( #559311=note: print w/replies, xml ) Need Help??

in reply to Re: Question on LWP::UserAgent attribute - $ua->credentials()
in thread Question on LWP::UserAgent attribute - $ua->credentials()

I have to agree, with marto here. You are saying you are getting a proxy error and you asking for help with credentials. Seems like two seperate issues. if you are positive that it is a credentials issues, here is a snippet that works for me,

my $server = ''; my $port_no = 443; my $realm = 'Restricted Area'; # Make sure the text is an exact matc +h my $user = 'username'; my $passwd = 'password'; $ua->credentials( $server . $port_no, $realm, $user, $passwd );

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2019-06-26 00:36 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (108 votes). Check out past polls.