Help for this page

Select Code to Download


  1. or download this
    use strict;
    require LWP::UserAgent;
    ...
    
    my $resp = $ua->request($req, '/temp/file.exe');
    print "'\$resp = \$ua-> . . . ' Errors: $@\n";
    
  2. or download this
    my $req = HTTP::Request->new('GET', 'http://www.somewhere.org/a/file.e
    +xe/');