in reply to WWW::Mechanize Error "GETing" stop the program,
See WWW::Mechanize on autocheck. This makes HTTP errors appear as Perl errors, which usually helps you if you are not checking for errors yourself. If you pass in autocheck => 0, then you will need to start checking for errors yourself:
if ($mech->get( $file, ':content_file' => "myFile$fileIndex.txt" ) +) { ... } else { # signal error to user };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize Error "GETing" stop the program,
by RedGrinGo (Novice) on Apr 15, 2010 at 08:34 UTC | |
by Corion (Patriarch) on Apr 15, 2010 at 08:38 UTC |