Help for this page

Select Code to Download


  1. or download this
    sub blabla {
      my ($poe_args) = shift;
      $poe_args->{KERNEL}->yield("bla");
      delete $poe_args->{HEAP}->job;
    }
    
  2. or download this
     ...
     as follows: ARG0 = the return value of syscall(), ARG1 = errno() -
     the numeric value of the error generated, ARG2 = error() - a
     descriptive for the given error, ARG3 = the wheel id, and ARG4 =
     the handle on which the error occurred (stdout, stderr, etc.)
    
  3. or download this
    sub errorhandler {
      my ($poe_args) = shift;
    ...
        print $poe_args->{ERROR}; 
      };
    }