Help for this page

Select Code to Download


  1. or download this
    Request method (GET, TRACE, OPTIONS, or HEAD - HEAD is default)? h
    Enter host: www.perlmonks.org
    ...
    Connection: close
    Content-Type: text/html
    X-Pad: avoid browser bug
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        $response = <$target>;
    }
    print $response;