in reply to Re^3: Win32::IE::Mechanize trouble
in thread Win32::IE::Mechanize trouble

So I added this line:

print "works" if defined $ie->form_name( $formName );
Since nothing gets printed, this means that my form isn't getting set correctly, right?

Replies are listed 'Best First'.
Re^5: Win32::IE::Mechanize trouble
by ikegami (Patriarch) on Jun 19, 2008 at 21:54 UTC
    Yes, according to the docs. What if you try enumerating the forms using $ie->forms? Do you see the one in which you are interested?
      print $ie->forms

      returns nothing...

        That should have been a hint to check the page being parsed ($ie->content).