Name
select
Synopsis
$s
->select(read
,write
,error
[,timeout
])
Static method. Call it with the package name as with
new
. read
, write
, and error
are either undef
or IO::Select objects. The
optional argument timeout
has the same
effect as for the core select
call.
Returns an array of three elements, each a reference to an array or an empty array on error. The arrays hold the handles that are ready for reading, ready for writing, and have error conditions, respectively.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.