Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

sky (1411)

  (email not shown publicly)

sky on IRC

Journal of sky (1411)

Sunday July 08, 2001
06:53 PM

POE Kernel hooks

[ #391 ]
Today I finished the first step of kernel hooks in POE, I added a hook for dispatch_state and a hook_set and hook_remove. This lets yous run a hook before and after any or a certain session does any or a certain event. It also lets you override the dispatch engine and do your own dispatching.

This will hopefully make it easier for people to extand and play with new features in POE. I myself did a simple poeprofiler script that profiles session and states and then prints output at the end. It is pretty simple, rather cool and uses times(). It could however be extended dramaticly. Good night!