Thanks again Jay ----- Original Message ----- From: "Rocco Caputo" <[EMAIL PROTECTED]> To: "Jay Strauss" <[EMAIL PROTECTED]> Sent: Thursday, January 01, 2004 8:01 PM Subject: Re: How to avoid connect,disconnect,connect...in a package
> On Thu, Jan 01, 2004 at 07:25:38PM -0600, Jay Strauss wrote: > > Ah.. > > > > I made the modifications like you said, and everything works fine. Thanks > > > > I get: > > POE::Kernel's run() method was never called. > > > > at the end of execution. Since I'm using: $poe_kernel->run_one_timeslice(); > > can I avoid this error? > > As a workaround, before you create any POE::Session, call > $poe_kernel->run(). That will set the run-was-called flag; you can then > run everything as normal. > > The problem has already been fixed in CVS, and it will appear in 0.27 > when it's released. > > -- > Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/ > >
