stanislav5000 has asked for the wisdom of the Perl Monks concerning the following question:
Thanks!if($inputfield =~ /(F|f)ieldname/) { print "matched Fieldname regex\n"; if($inputfield->type=="option") { $mech->select($inputfield=>$desired_input); } else { $mech->set_fields($inputfield=>$desired_input); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML options input field question
by cormanaz (Deacon) on Mar 30, 2007 at 18:57 UTC |