Help for this page

Select Code to Download


  1. or download this
    my $res = $ua->get("http://www.perlmonks.com");
    if ($res->is_success) {
    }
    
  2. or download this
    my $req = HTTP::Request->new(GET => "http://www.perlmonks.com");
    my $res = $ua->request($req);
    if ($res->is_success) {
    }