This module shows how to use Net::Curl::Multi interface with an event library, AnyEvent in this case.
This is the most efficient method for using Net::Curl::Multi interface, but it requires a really good understanding of it. This code tries to show the quirks found when using event-based programming.
Multi::Event requires Easy object to provide finish() method.
#!perl use strict; use warnings; use Easy::Event; use Multi::Event; #nopod
To install Net::Curl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Curl
CPAN shell
perl -MCPAN -e shell install Net::Curl
For more information on module installation, please visit the detailed CPAN module installation guide.