On Tue, Jul 31, 2001 at 02:48:26PM +0200, Jotham wrote:
> Hello,
> 
> How do I change the function that is attached to a ReadWrite's
> input_event? I want to dynamically point it at different places.
> 
> Jotham

Good morning, Jotham!

  $kernel->state( event_name => \&function );
  $kernel->state( event_name => $object, "method_name" );
  $kernel->state( event_name => "package_name", "function_name" )

To remove the function entirely:

  $kernel->state( "event_name" );

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net

Reply via email to