Help for this page

Select Code to Download


  1. or download this
    WWW::Mechanize::new(timeout=>15);
    
  2. or download this
    wait until $mech->success;
    
  3. or download this
    wait until $muck->success or $muck->status;        
    if ($muck->status ne 200 ) //200 is HTML success
    ...
     //do something else handle errors, sleep if page timeouts, recurse to
    + try again, etc
    }