Name
can_read
Synopsis
$s
->can_read([timeout
])
Returns array of handles that are ready for reading.
timeout
is the maximum amount of time
to wait before returning an empty list. If
timeout
is not given, and any handles
are registered, then the call blocks.
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.