Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This snippet errors out but it doesn't tell me an error.
It results in############################################ # At this time we are LOGGED IN, so off to the TRADING POST ############################################ print "1"; $mech->get($url2); print "1a"; $mech->submit_form( form_name => "trade1", fields => { "criteria" => 'Lot Number', search_string => "$lotnum" } ) or die "Error: $!"; print "2";
Those are test prints so I can see where it stops. Do I have a syntax error? If it helps, I used a fake form name to get it to error out intentionally but it doesn't! So it's something else.11a Software error: at /usr/lib/perl5/site_perl/5.8.5/WWW/Mechanize.pm line 1492.
Mechanize is initialized long before this snippet and works for everything else but this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize erroring out without producing an error line
by kyle (Abbot) on Jun 30, 2007 at 04:32 UTC |