logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Anybody did this?: msg#00052

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




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>