Help for this page

Select Code to Download


  1. or download this
      use WWW::Mechanize;
    
    ...
      $mech->get( "http://www.mysite.com/index.html" );
      die( "Error getting page" ) if ( ! $mech->success() );
      print( $mech->response->headers_as_string );