Help for this page

Select Code to Download


  1. or download this
            $ua = LWP::UserAgent->new;
      $req = HTTP::Request->new(GET => "$url");
      $req->authorization_basic('user', 'pass');
      $body = $ua->request($req)->as_string;