Kazunori Minoda > Net-WebCL-0.02 > Net::WebCL

Download:
Net-WebCL-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.02   Source   Latest Release: Net-WebCL-0.03

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

syntax highlighting: