Re: Getting POE::Kernel's run() method was never called when using run_one_timeslice

2005-09-08 Thread Rocco Caputo
On Sep 8, 2005, at 15:32, David Davis wrote: Whatever dude... If you wanted to know what Rocco would do, then just email him, don't ask the list. That's a recipe for disaster. Rocco says the craziest things. -- Rocco Caputo - http://poe.perl.org/

Re: Getting POE::Kernel's run() method was never called when using run_one_timeslice

2005-09-08 Thread Jay Strauss
David Davis wrote: Whatever dude... If you wanted to know what Rocco would do, then just email him, don't ask the list. Interesting response. Jay

Re: Getting POE::Kernel's run() method was never called when using run_one_timeslice

2005-09-08 Thread sungo
On (09/08 19:59), Jay Strauss wrote: David Davis wrote: Whatever dude... If you wanted to know what Rocco would do, then just email him, don't ask the list. Interesting response. Jay At this point, I hereby declare this thread closed and will scowl angrily at anyone who attempts to

Getting POE::Kernel's run() method was never called when using run_one_timeslice

2005-09-05 Thread Jay Strauss
Hi, I'm getting POE::Kernel's run() method was never called. error when my script that calls the code below ends. I could put a -run and -(shutdown) into a sub DESTROY. But is there a way I'm supposed to avoid this error. Thank you Jay package TradeStudy::BrokerClient; use 5.008004;

Re: Getting POE::Kernel's run() method was never called when using run_one_timeslice

2005-09-05 Thread Rocco Caputo
On Sep 5, 2005, at 17:43, Jay Strauss wrote: I'm getting POE::Kernel's run() method was never called. error when my script that calls the code below ends. I could put a -run and -(shutdown) into a sub DESTROY. But is there a way I'm supposed to avoid this error. POE::Kernel isn't

Re: Getting POE::Kernel's run() method was never called when using run_one_timeslice

2005-09-05 Thread Jay Strauss
Rocco Caputo wrote: On Sep 5, 2005, at 17:43, Jay Strauss wrote: I'm getting POE::Kernel's run() method was never called. error when my script that calls the code below ends. I could put a -run and -(shutdown) into a sub DESTROY. But is there a way I'm supposed to avoid this error.

Re: Getting POE::Kernel's run() method was never called when using run_one_timeslice

2005-09-05 Thread David Davis
If you call $poe_kernel-run(); without any sessions created yet, then it will return immediately. Call that, then use run_one_timeslice and no warning will be produced. David On 9/5/05, Jay Strauss [EMAIL PROTECTED] wrote: Rocco Caputo wrote: On Sep 5, 2005, at 17:43, Jay Strauss wrote: