Thanks, I didn't know there was a poe::kernel pod Jay ----- Original Message ----- From: "sungo" <[EMAIL PROTECTED]> To: "Jay Strauss" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, February 15, 2004 2:25 PM Subject: Re: Continue processing after ->run
> On (02/15 12:51), Jay Strauss wrote: > > > But nothing happens. If I change "post" to "yield" then I call the > > processRecord subroutine is called. Why is that? > > post() sends events to specific sessions. yield() sends events to the > current session. > > from perldoc POE::Kernel: > > post SESSION, EVENT_NAME, PARAMETER_LIST > post SESSION, EVENT_NAME > post() enqueues an event to be dispatched to EVENT_NAME in SESSION. > > yield EVENT_NAME, PARAMETER_LIST > yield EVENT_NAME > yield() enqueues an EVENT_NAME event for the session that calls it. > yield() is shorthand for post() where the event's destination is the > current session. > > -- > Matt Cashner > http://eekeek.org > eek at eekeek dot org > >