saintjames has asked for the wisdom of the Perl Monks concerning the following question:

Is there a way to define just one of the $ua->credentials()? For instance, I am working with a device that does not require a UID but does require a PWD. I would like to be able to only define and send just one of the parameters ($pass) without defining the entire group. Any and all help would be greatly appreciated. Thank You $all. Well I am happy to report that I managed to work this out on my own - by going another route and also using HTTP::Request::Common and doing a POST, etc., etc.

Replies are listed 'Best First'.
Re: LWP::UserAgent Question
by Anonymous Monk on Feb 23, 2010 at 00:25 UTC
    $ua->credentials( $netloc, $realm, undef, $pass )