Re: POE::Wheel::Run EOF again

2002-05-22 Thread Peter Chen
On Wed, 2002-05-22 at 00:33, Chris Fedde wrote: I saw behavior like this with 0.18 on FreeBSD 4.5 and Solaris 2.8. After 0.19 the sigchld consistently arrives after two error events marking failed nonblocking read on stderr and stdout. Unfortunately, I don't share the same experience. I

Re: POE::Wheel::Run EOF again

2002-05-22 Thread Chris Fedde
On 22 May 2002 17:49:15 -0400 Peter Chen wrote: +-- | On Wed, 2002-05-22 at 00:33, Chris Fedde wrote: | To my knowledge | there is still no way to map the error events back to file handles. | | Let me make sure I understand this. Do you mean there is no way to know |

Re: POE::Wheel::Run EOF again

2002-05-22 Thread Rocco Caputo
On Tue, May 21, 2002 at 06:44:18PM -0400, Peter Chen wrote: Back in last December, there was a thread on how to handle EOF on the stdout from POE::Wheel::Run. Was there any follow up to this? http:[EMAIL PROTECTED]/msg00767.html I am seeing the same problem in POE 0.19. Is there a way

ReadWrite and eof

2002-05-22 Thread Peter Scott
When I look at http://www.perl.com/2001/01/poe-math3.pl, it seems to me that the child_done state is an orphan since I see no event hooked up to it. I can't get it to fire. Yet it appears that it was intended to be called when the child connection is broken. Now, when the connection goes

Re: ReadWrite and eof

2002-05-22 Thread Rocco Caputo
On Wed, May 22, 2002 at 05:22:55PM -0700, Peter Scott wrote: When I look at http://www.perl.com/2001/01/poe-math3.pl, it seems to me that the child_done state is an orphan since I see no event hooked up to it. I can't get it to fire. Yet it appears that it was intended to be called when

POE::Wheel::ReadWrite questions

2002-05-22 Thread George Chung
I want the following code to read and write from STDIN and to STDOUT. It's supposed to work if I type echo test|./poe_test.pl. However the problem seems looping forever and eats all CPU time. It seems it cannot get data from STDIN. Could anyone tell me what the problem is in the code? Thank