in reply to How to pass credentials through REST::Client
See https://metacpan.org/pod/LWP::UserAgent#get_basic_credentials, https://metacpan.org/pod/LWP::UserAgent#credentials
$client->getUseragent()->credentials("www.example.com:80", "Some Realm +", "foo", "secret");
In Section
Seekers of Perl Wisdom