Re: Client::Ping and raw sockets?

2007-02-22 Thread Michael Hare
I've done a little more digging and now I'm really confused. Consider the following '_stop' handler for a Client::Ping session. sub handler_stop { print Session , $_[SESSION]-ID, has stopped.\n; print $poe_kernel-get_active_event() . - . $poe_kernel-get_event_count() . \n;

Re: Performing actions _after_ PoCo::Server::TCP shuts down

2007-02-22 Thread Rocco Caputo
On Feb 21, 2007, at 15:05, Kevin Scaldeferri wrote: I'm trying to figure out how to schedule an action to happen after my PoCo::Server::TCP shuts down. I.e., after all the pending requests have finished processing. I tried doing it through _stop like this, but it didn't work:

Re: POE - Catching INT Signals

2007-02-22 Thread Rocco Caputo
On Feb 22, 2007, at 01:52, Michael Collins wrote: I am searching for a way to catch and handle a Control-C when using multiple POE sessions. I have successfully used the snippet from the POE Cookbook to actually catch the INT signal in each of my Sessions: event_sigint = sub { my

Re: another ::ReadLine question (possibly a bug)

2007-02-22 Thread Rocco Caputo
On Feb 13, 2007, at 18:59, Paul Miller wrote: On Feb 13, 4:04 pm, [EMAIL PROTECTED] (David Davis) wrote: POE .95 Perl v5.8.7 Oh, and I suppose I failed to mention that part. I'm running perl v5.8.8 and POE 0.9917. I can't reproduce the output truncation. I'm running the sample code

Fwd: EasyDBI -- No result, just 'Died' [Was: POE DBI]

2007-02-22 Thread Jake Peavy
Forgot the list... sorry. -jp -- Forwarded message -- From: Jake Peavy [EMAIL PROTECTED] Date: Feb 21, 2007 6:09 PM Subject: Re: EasyDBI -- No result, just 'Died' [Was: POE DBI] To: David Davis [EMAIL PROTECTED] I'm not totally sure what you mean by error message... With sub

POE newbie question

2007-02-22 Thread Fei Liu
Hi group, just wondering what's the difference between POE::Kernel::select_read/write method and POE::Kernel::yield method? How should I use select_read/select_write? Do they do anything special about the events that they select? Thanks, Fei

Re: EasyDBI -- No result, just 'Died' [Was: POE DBI]

2007-02-22 Thread David Davis
Since I don't have a test case, You'll have to dig deeper yourself. David On 2/22/07, Jake Peavy [EMAIL PROTECTED] wrote: Forgot the list... sorry. -jp -- Forwarded message -- From: Jake Peavy [EMAIL PROTECTED] Date: Feb 21, 2007 6:09 PM Subject: Re: EasyDBI -- No result,

Re: EasyDBI -- No result, just 'Died' [Was: POE DBI]

2007-02-22 Thread Jake Peavy
Sure, I don't mind, but how would you suggest doing so? Like I mentioned in the OP, the queries run without problems through straight DBI (using the same DBD::ODBC driver). -jp On 2/22/07, David Davis [EMAIL PROTECTED] wrote: Since I don't have a test case, You'll have to dig deeper