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 };
In reply to Re: WWW::Mechanize Error "GETing" stop the program,
by Corion
in thread WWW::Mechanize Error "GETing" stop the program,
by RedGrinGo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |