Help for this page

Select Code to Download


  1. or download this
    ## Please see file perltidy.ERR
    
    ...
        );
    
        my $res = $ua->request( $r,  );
    
  2. or download this
        my $ua = LWP::UserAgent->new('send_te' => '0');
            my $r = HTTP::Request->new(
    ...
            ],
            
        );
    
  3. or download this
    use HTTP::Request::FromCurl;
    print HTTP::Request::FromCurl->new(command_curl => <<'EOC')->as_snippe
    +t;
    curl 'http://example.com' --compressed -H 'User-Agent: myagent'
    EOC