IO::Lambda::Compat - compatibility with pre-v1.00 version API
use IO::Lambda qw(:lambda); use IO::Lambda::Compat; lambda { context $socket; read { } }
The module exports the following names, which were renamed in IO::Lambda after version 1.01: read, write, sleep, readwrite, predicate. Issue use IO::Lambda::Compat to make older programs compatible with the newer API.
use IO::Lambda::Compat
To install IO::Lambda, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Lambda
CPAN shell
perl -MCPAN -e shell install IO::Lambda
For more information on module installation, please visit the detailed CPAN module installation guide.