|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^4: regarding 1.02 (was Re: IO::Lambda: call for participation)by xdg (Monsignor) |
| on Jan 15, 2009 at 00:21 UTC ( #736424=note: print w/ replies, xml ) | Need Help?? |
|
So these are really "on_next_writable" and "on_next_readable" rather than general event handlers. (Unless they are reset with again().) That's definitely different from POE, in which event handlers persist once set. So, conceptually, it's sort of like this (in a sort of pseudo-code and with some lexical scope differences so that the function references are explicit which I think makes the order of execution clearer):
-xdg Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Meditations
|
|
||||||||||||||||||||||