If you have autocheck on and its dying, use eval { } to trap it, example
my $ua = WWW::Mechanize->new( autocheck => 1 ); ... eval { $ua->get(...); 1 } or do { warn "Caught a fish: $@"; next LOOP; }
Also, this is documented in WWW::Mechanize
In reply to Re: Mechanize, Do Not Die, Do Next In Loop (autocheck)
by Anonymous Monk
in thread Mechanize, Do Not Die, Do Next In Loop
by douglazb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |