in reply to Mechanize, Do Not Die, Do Next In Loop
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
|
|---|