scoobyrico has asked for the wisdom of the Perl Monks concerning the following question:
How do I point find_all_inputs to proper form, since it only seems to pick up the first form on the page? I did try to select the form first then do run on that, but was unsuccessful.my @c_inputs = $mech->find_all_inputs(); foreach my $str (@c_inputs){ print STDERR Dumper($str); } print STDERR "That was for PAGE: ".$mech->uri."\n";
my @c_inputs = $mech->form_name('account')->find_all_inputs(); foreach my $str (@c_inputs){ print STDERR Dumper($str); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize and forms
by ikegami (Patriarch) on Dec 11, 2007 at 19:47 UTC | |
by scoobyrico (Beadle) on Dec 11, 2007 at 20:00 UTC |