That only works for sites using HTTP authentication.
Unfortunately, the site the OP is trying to log into isn't one of them.
Instead is uses forms-based authentication, for which use of form_name, set_field and submit (or some variation thereof) would be a more appropriate -- and less futile :-) -- way to proceed.
--k.
Update: s/OP/OP is trying to log into/;
In reply to Re^2: Authentication with WWW::Mechanize
by Kanji
in thread Authentication with WWW::Mechanize
by cdherold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |