in reply to Authentication with WWW::Mechanize
From the FAQ:
=head2 How do I get Mech to handle authentication? my $agent = WWW::Mechanize->new(); my @args = ( Authorization => "Basic " . MIME::Base64::encode( USER . ':' . PASS ) ); $agent->credentials( ADDRESS, REALM, USER, PASS ); $agent->get( URL, @args );
xoxo,
Andy
In Section
Seekers of Perl Wisdom