Callback/hooks/events handler code needed

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

I need to add a Perl module to my code that handles events/hooks/
(I don't really have a name preference here :-) )

What I need is to have the option for other modules to register
events, or
subroutines to be called when events happen. I am betting there's a
implementation already working and would be happy to use it instead
coding it again myself.

Any suggestions?


Re: Callback/hooks/events handler code needed writes:

Quoted text here. Click to load it

Module::Pluggable[1] came to mind.  I'm sure there are others; do check
the CPAN.[2]



  I like the idea of 256 bits, though: 32 for the (Unicode) character leaves
  room for 224 Bucky bits, which ought to be enough for anyone.
                -- Roland Hutchinson, in alt.folklore.computers

Re: Callback/hooks/events handler code needed

On Sun, 27 Jul 2008 23:49:45 -0700 (PDT), wrote:
Quoted text here. Click to load it

There's POE, which I'm particularly fond of.  Also Event, and probably
others.  Have you looked at ?

Rocco Caputo - /

Site Timeline