helpme123 has asked for the wisdom of the Perl Monks concerning the following question:
use WWW::Mechanize; my $mech = WWW::Mechanize->new( autocheck => 0); my $fieldname = 0; #login $url="http://@ARGV[0]"; $mech->get( $url ); my $count = 1; for my $form ($mech->forms) { print "form $count fields are:\n"; $count; for ($form->param) { # printf "%s - %s\n", $_, $form->value($_); #print $form->value($_); # print %s; } # print "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: $mech help
by Corion (Patriarch) on Sep 24, 2015 at 09:35 UTC | |
by helpme123 (Initiate) on Sep 24, 2015 at 09:39 UTC | |
by Anonymous Monk on Sep 24, 2015 at 09:42 UTC | |
|
Re: $mech help
by 1nickt (Canon) on Sep 24, 2015 at 21:34 UTC | |
|
Re: $mech help
by Anonymous Monk on Sep 24, 2015 at 09:40 UTC | |
by helpme123 (Initiate) on Sep 24, 2015 at 10:05 UTC | |
by Corion (Patriarch) on Sep 24, 2015 at 10:23 UTC | |
by choroba (Cardinal) on Sep 24, 2015 at 10:08 UTC | |
by helpme123 (Initiate) on Sep 24, 2015 at 10:17 UTC | |
by Corion (Patriarch) on Sep 24, 2015 at 10:24 UTC | |
by Anonymous Monk on Sep 24, 2015 at 11:03 UTC |