Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
if the length of the string in the input box is > 100 then thats the box i want. the catch here is that the input box has no name or ID, just a tag.$mech->get( $page ); my @find_text = $mech->find_all_inputs( type => 'text' ); for $boxes (@find_text) { if (length($boxes) > 100) { print #contents of the input box here? } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize help
by zwon (Abbot) on May 06, 2012 at 10:48 UTC | |
by Anonymous Monk on May 06, 2012 at 14:15 UTC | |
by Anonymous Monk on May 06, 2012 at 21:54 UTC |