NAME
Net::WebCL - LWP::UserAgent base easy web access module.
SYNOPSIS
use Net::WebCL;
my $ua = new Net::WebCL;
my $res = $ua->req(
method,
url,
send_data,
proxy_info
);
print $res->content;
DESCRIPTION
This module is LWP::UserAgent base easy web access module. Support Protocol is HTTP and HTTPS. Support Method is GET and POST. Cookie is supoorted. Proxy is supported.
Usage
use Net::WebCL;
my $ua = new Net::WebCL;
my $res = $ua->req(
method,
url,
send_data,
proxy_info
);
print $res->content;
method: GET/POST url: Example is 'http://search.cpan.org' send_data: This parameter is Hash Ref. my $proxy_data = { proxy_type => [qw/http https/], proxy_host => 'proxy.hogehoge.localdomain', proxy_port => 8080, proxy_user => 'foo', proxy_password => 'bar' );
Copyright
Kazunori Minoda (c)2012