Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $url ='http://www.wsu.edu:8080/~brians/errors/errors.html';
    my $content = get $url;
    print $content;
    
  2. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    else {
     print $res->status_line, "\n";
    }