I could, but it will be nice not to code the logic in the event producer, whoever is intereted can subscribe.
Z. ----- Original Message ----- From: "Will Lowe" <[EMAIL PROTECTED]> To: "sir shz" <[EMAIL PROTECTED]> Cc: <poe@perl.org> Sent: Wednesday, April 20, 2005 10:28 AM Subject: Re: Anybody did this? > > In POE, is it possible to register multiple event handlers for a single > > event? sort of like publish/subscribe messaging. For example, suppose I have > > an "order" event, I'd like several handlers to be invoked: one to insert > > into db, one to log, one to send email, etc. I could send multiple events, > > but that's not as nice. > > Just have the one handler you register call the others? Via > $kernel->yield() or direct &foo(); calls? > > -- > Will