foreach my $form ($mech->forms()) { if ($form->find_input("fieldname") { do_stuff(); } }
In reply to Re: checking if form field exists in WWW::Mechanize
by cazz
in thread checking if form field exists in WWW::Mechanize
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |