Help for this page

Select Code to Download


  1. or download this
    my $url=<STDIN>;
    
    ...
    my $ua=LWP::UserAgent->new();
    $ua->timeout(15);
    my $response=$ua->request($req);
    
  2. or download this
    #!/usr/bin/perl
    use LWP::Simple;
    
    my $url=<STDIN>;
    my $resul=get $url;