Help for this page

Select Code to Download


  1. or download this
    $ cat wwwPerl.pl 
    #!/usr/bin/perl -w
    ...
    $mech->get( $url );
    
    print $mech->content();
    
  2. or download this
    $ ./wwwPerl.pl 
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    ...
    browser doesn't understand how to supply
    the credentials required.</p>
    </body></html>