Help for this page

Select Code to Download


  1. or download this
    my $mech = WWW::Mechanize->new();
    $mech->get("http://my.server.com/my/path");
    if (! $mech=>success) {
       # attempt to recover
    }
    
  2. or download this
    Error GETing http://your-uri: reason
    
  3. 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.)
    
  4. or download this
    if ($ENV{WWW_MECH_IGNORING_AUTOCHECK_REQUIREMENT}) {
        ...
    }