in reply to WWW::Mechanize can't see the fields

You have more than one form on that page, the $mech->field() method defaults to the first form on the page, you need to either specify a form_name or form_number. Double check the WWW::Mechanize documentation. Also you don't have:

use strict; use warnings;

in your code, and you have use WWW::Mechanize; twice.

Martin