On Wed, Dec 25, 2002 at 09:14:32PM -0600, Bob Maccione wrote:
> OK, I got that but now I'm stuck on how to add event names after the wheel
> has been created.

Check the "state management methods" in POE::Kernel's documentation.
A summary:

$kernel->state( event => \&coderef ); # defines/overwrites "event"
$kernel->state( event => undef );     # undefines "event"
$kernel->state( "event" );            # undefines "event"

> Also is there a callback to use for trapping undef'd events?

See Chris Fedde's recommendation to use _default here.

-- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/

Reply via email to