in reply to WWW::Mechanize for nonexistent fields?

In situations like this, you generally have to disect the form and javascript to figure out what parameters need to be submitted. Rather than attempting to access the page and fill out the form, just have your script do a POST request to the form's action, providing the proper credentials to log in.