[poe-commits] poe/POE/Wheel Run.pm,1.38,1.39
Brought to you by:
rcaputo
From: <rc...@us...> - 2002-09-17 03:00:12
|
Update of /cvsroot/poe/poe/POE/Wheel In directory usw-pr-cvs1:/tmp/cvs-serv4301/Wheel Modified Files: Run.pm Log Message: Explanation of the ErrorEvent parameters. Patch by Erick Calder. Index: Run.pm =================================================================== RCS file: /cvsroot/poe/poe/POE/Wheel/Run.pm,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** Run.pm 11 Sep 2002 22:11:05 -0000 1.38 --- Run.pm 17 Sep 2002 03:00:08 -0000 1.39 *************** *** 873,878 **** C<ErrorEvent> contains the name of an event to emit if something ! fails. It is optional. If omitted, the wheel will not notify its ! session if any errors occur. Wheel::Run requires at least one of the following three events: --- 873,882 ---- C<ErrorEvent> contains the name of an event to emit if something ! fails. It is optional and if omitted, the wheel will not notify its ! session if any errors occur. The event receives 5 parameters 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 ocurred (stdout, stderr, etc.) Wheel::Run requires at least one of the following three events: |