Hi.

I've released POE::Component::SubWrapper to the world. The current
version is 0.05, and you can get it at:

http://www.etla.org/poe/

What is it?

This is a module which provides an event based wrapper for subroutines.

An example from the docs is:

 use Data::Dumper;
 poeize Data::Dumper;
 $kernel->post('Data::Dumper', 'Dumper', [ { a => 1, b => 2 } ], 'callback_state', 
'SCALAR');

 sub callback_handler {
  my $result = $_[ARG0];
  # do something with the string returned by dumper
 }

It still needs some work, especially in the areas of error handling and
callbacks, but all the basic functionality is there and should be working.

Michael.

Reply via email to