Name

add

Synopsis

$s ->add( handles )

Description

Adds list of handles to the IO::Select object, to be returned when an event occurs. IO::Select keeps the list of handles in a cache, which is indexed by the handle’s file number. Each handle can be an IO::Handle object, an integer, or a reference to an array, where the first element is an IO::Handle object or an integer.

Get Perl in a Nutshell 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.