Help for this page

Select Code to Download


  1. or download this
    # Watch for read readiness on a filehandle.
    $kernel->select_read( $file_handle, $event, @optional_args );
    
  2. or download this
    ($k, $sock, $optarg1) = @_[KERNEL, ARG0, ARG1];
    
  3. or download this
    Select events include two parameters.
    
    ...
    ARG1 contains 0, 1, or 2 to indicate whether the filehandle is ready f
    +or reading, writing, or out-of-band reading (otherwise knows as "expe
    +dited" or "exception").
    
    ARG2..$#_ contain optional additional parameters passed to POE::Kernel
    +'s various I/O watcher methods.
    
  4. or download this
    ($k, $sock, $status, $optarg1) = @_[KERNEL, ARG0, ARG1, ARG2];