Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    use strict;
    ...
    $ua->env_proxy;
    warn Dumper $ua->proxy('https');
    $ua->get('https://google.com')
    
  2. or download this
    $ua->default_headers->header('User-Agent' => 'curl/7.10.x (i386-redhat
    +-linux-gnu) libcurl/7.10.x OpenSSL/0.9.7a ipv6 zlib/1.1.4');