
WWW::Curl::Simple - A simpler interface to WWW::Curl

Version 0.04

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/');
$req should be a HTTP::Request object.
If you have a URI-string or object, look at the get-method instead
Accepts one parameter, which should be a reference to a URI object or a string representing a uri.
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
Adds $req (HTTP::Request) to the list of URL's to fetch
Does all the requests added with add_request, and returns a list of HTTP::Response-objects
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 of perform makes the return-value perform more alike
Sets the timeout of individual requests, in seconds
Sets the timeout of the connect phase of requests, in seconds
Defaults to true, but if set to false, it will make failure in multi-requests warn instead of die.

Andreas Marienborg, <andreas at startsiden.no>

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.

You can find documentation for this module with the perldoc command.
perldoc WWW::Curl::Simple
You can also look for information at:


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.