Does somebody have a working example of using WWW::Curl::Multi?
Did you try looking on the curl homepage? The CPAN documentation says
This module provides a Perl interface to libcurl. It is not intended to be a standalone module and because of this, the main libcurl documentation should be consulted for API details at http://curl.haxx.se. The documentation you're reading right now only contains the Perl specific details, some sample code and the differences between the C API and the Perl one.
However, there is an example of both WWW::Curl::Easy
and WWW::Curl::Multi
on the main CPAN page: http://search.cpan.org/perldoc?WWW::Curl#WWW::Curl::Multi
To give you insight into the community: I've never seen WWW::Curl::Multi
in use. The overwhelming majority satisfy their parallel http needs with either POE::Component::Client::HTTP
(for ftp and others there are other clients), or Parallel::ForkManager
and LWP
. Not to say that curl isn't great and that the added multi-network functionality isn't nice, just to say in practice the other two implementations are much more common.
I want to acknowledge that curl multi works great for the php community, and I know nothing bad per se about the perl bindings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With