in reply to WWW::Mechanize can't log in using it
$n->set_visible( $user, $password );
I've found that set_visible isn't always reliable; sometimes there are other fields or weird javascripty widgets that mess it up. I find it's almost always better to specify the fields by name. So assuming the fields are called 'username' and 'password', try something like:
$n->set_fields( username => $user, password => $password );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize can't log in using it
by Skeeve (Parson) on Oct 26, 2005 at 14:45 UTC |