- or download this
my $mech = WWW::Mechanize->new();
$mech->get("http://my.server.com/my/path");
if (! $mech=>success) {
# attempt to recover
}
- or download this
Error GETing http://your-uri: reason
- or download this
Error GETing http://cantreachthis.com: Page not found
(You didn't specify 'autocheck' in new(); use 'autocheck => 1' to if y
+ou want to check status yourself.)
- or download this
if ($ENV{WWW_MECH_IGNORING_AUTOCHECK_REQUIREMENT}) {
...
}