IO::Async::Loop::linux - pick the best Loop implementation on Linux
IO::Async::Loop::linux
If this module is installed, then the best Loop implementation will automatically be picked when IO::Async::Loop->new() is called on a Linux machine. It will attempt to use either of the following, in order, if they are available
IO::Async::Loop->new()
IO::Async::Loop::Epoll
IO::Async::Loop::IO_Ppoll
The end application using IO::Async does not need to make any special effort to use these; the magic constructor in IO::Async::Loop will automatically find and use it if it is installed.
$ perl -MIO::Async::Loop -E 'say ref IO::Async::Loop->new' IO::Async::Loop::Epoll
Paul Evans <leonerd@leonerd.org.uk>
To install IO::Async::Loop::linux, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Async::Loop::linux
CPAN shell
perl -MCPAN -e shell install IO::Async::Loop::linux
For more information on module installation, please visit the detailed CPAN module installation guide.