NAME
WWW::Curl::Simple - A simpler interface to WWW::Curl
VERSION
Version 0.02
SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
use WWW::Curl::Simple;
my $curl = WWW::Curl::Simple->new();
my $res = $curl->get('http://www.google.com/');
request($req)
$req should be a HTTP::Request object.
If you have a URI-string or object, look at the get-method instead
get($uri || URI)
Accepts one parameter, which should be a reference to a URI object or a string representing a uri.
post($uri || URI, $form)
Created a HTTP::Request of type POST to $uri, which can be a string or a URI object, and sets the form of the request to $form. See HTTP::Request for more information on the format of $form
MULTI requests usage
add_request($req)
Adds $req (HTTP::Request) to the list of URL's to fetch
perform
Does all the requests added with add_request, and returns a list of HTTP::Response-objects
LWP::Parallel::UserAgent compliant methods
- wait
-
These methods are here to provide an easier transition from LWP::Parallel::UserAgent. It is by no means a drop in replacement, but using
wait
instead ofperform
makes the return-value perform more alike
AUTHOR
Andreas Marienborg, <andreas at startsiden.no>
BUGS
Please report any bugs or feature requests to bug-www-curl-simple at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Curl-Simple. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::Curl::Simple
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2009 Andreas Marienborg, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.