SPVM::IO::Select - Select
use IO::Select; $select = IO::Select->new; $select->add($fd0); $select->add($fd1); my $ready = $select->can_read($timeout);
SPVM::IO::Select provides select utilities.
has handles : IntList;
static method new : IO::Select ();
method add : int ($new_handle : int);
method remove : int ($remove_handle : int);
method exists : int ($check_handle : int);
method handles : int[] ();
method can_read : int[] ($timeout : double);
method can_write : int[] ($timeout : double);
method has_exception : int[] ($timeout : double);
IO::Select is a Perl's IO::Select porting to SPVM.
IO::Select
Copyright (c) 2023 Yuki Kimoto
MIT License
To install SPVM::IO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM::IO
CPAN shell
perl -MCPAN -e shell install SPVM::IO
For more information on module installation, please visit the detailed CPAN module installation guide.