Have you tried the most simple example from the Cookbook?
$mech->credentials( $username => $password ); $mech->get( 'http://mylink/' );
Note that the credentials are set up before the get().
In reply to Re: New with WWW:Mechanize and Credentials issue
by almut
in thread New with WWW:Mechanize and Credentials issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |