Coro::Handle - non-blocking io with a blocking interface.
use Coro::Handle;
This module implements io-handles in a coroutine-compatible way, that is, other coroutines can run while reads or writes block on the handle. It does NOT inherit from IO::Handle but uses tied objects.
Create a new non-blocking io-handle using the given perl-filehandle. Returns undef if no fhandle is given.
Wait until the filehandle is readable or writable (and return true) or until an error condition happens (and return false).
- Perl's IO-Handle model is THE bug. - READLINE cannot be mixed with other forms of input.
Marc Lehmann <pcg@goof.com> http://www.goof.com/pcg/marc/
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Coro, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Coro
CPAN shell
perl -MCPAN -e shell install Coro
For more information on module installation, please visit the detailed CPAN module installation guide.