in reply to WWW::Mechanize login
As mentioned earlier, WWW::Mechanize does not work with javascript enabled pages. You have to re-create the javascript function in perl if you have to use WWW::MEchanize.
Alternatively, you can use Win32::IE::Mechanize (if you are using Internet Explorer) or Mozilla::Mechanize (if you have firefox).
You can even try www::selenium.