Help for this page

Select Code to Download


  1. or download this
    use LWP::UserAgent qw( );
    my $ua = LWP::UserAgent->new();
    my $response = $ua->get('http://www.google.com/');
    print($response->request()->as_string(), "\n");
    
  2. or download this
    GET http://www.google.ca/
    User-Agent: libwww-perl/5.805