wst has asked for the wisdom of the Perl Monks concerning the following question:
for (my $mid = 0; $mid < scalar(@mgid); $mid++) { my $message = "Not a valid MGID = $mgid[$mid]\n"; my $message2 = "Found record with MGID = $mgid[$mid]\n"; check_mgtid($mech, $mgt_id[$mid], $message,$baseUrl."/search"); } sub check_mgtid { my ($mech, $mgtid,$message,$searchUrl) = @_; $mech->submit_form($searchUrl, { with_fields => { mgt_id => "$mgtid", }, }, "$message", ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Catalyst Form test
by Corion (Patriarch) on Apr 28, 2009 at 11:37 UTC | |
by wst (Acolyte) on Apr 28, 2009 at 13:23 UTC | |
by wst (Acolyte) on Apr 28, 2009 at 14:16 UTC |