WWW::Curl::Multi3pm
Perl extension interface for libcurl
Usage
use WWW::CURL::Multi;my $curlm = new WWW::Curl::Multi;$curlm->add_handler($curl);$curlm->perform;$curlm->remove_handler($curl);
Overview
WWW::Curl::Multi is an extension to WWW::Curl::Easy which makes it possible to process multiple easy handles parallel.
Methods
$curlm = new WWW::Curl::MultiThis method constructs a new WWW::Curl::Multi object.
$curlm->add_handler( $curl )This method adds a WWW::Curl::Easy object to the multi stack.
$curlm->performThis method parallel perlforms all WWW::Curl::Easy objectson the stack.
*Warning* - this does not perform exactly thesame functions as the direct libcurl function - for example,there's no opportunity to get the fdset back at any time, sothis interface could change in future as those functionsare added.
$curl->remove_handler( $curl )This method removes a WWW::Curl::Easy object from the stack.