Net::Curl::Promiser::Select
This module implements Net::Curl::Promiser via Perl’s select() built-in.
See /examples in the distribution for a fleshed-out demonstration.
process( $READ_MASK, $WRITE_MASK )
Instances of this class should pass the read and write bitmasks to the process() method that otherwise would be passed to Perl’s select() built-in.
process()
select()
The following are added in addition to the base class methods:
Returns the bitmasks to use as input to select().
Note that, since these are copies of OBJ’s internal values, you don’t need to copy them again before calling select().
Returns the file descriptors that OBJ tracks—or, in scalar context, the count of such. Useful to check for exception events.
Calls the base class’s implementation of this method and then translates it to seconds (since that’s what select() expects).
To install Net::Curl::Promiser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Curl::Promiser
CPAN shell
perl -MCPAN -e shell install Net::Curl::Promiser
For more information on module installation, please visit the detailed CPAN module installation guide.