Help for this page

Select Code to Download


  1. or download this
        can_read ( [ TIMEOUT ] )
            Return an array of handles that are ready for reading. "TIMEOU
    +T" is
            the maximum amount of time to wait before returning an empty l
    +ist,
            in seconds, possibly fractional. If "TIMEOUT" is not given and
    + any
            handles are registered then the call will block.
    
  2. or download this
    #!/usr/bin/perl
    use IO::Select;
    ...
            }
        }
    }