I seem to be having an ErrorEvent triggered within POE::Wheel::Run upon the end of the input from STDERR and STDOUT. eg.
sub _error { my ( $syscall, $errno, $error, $id, $handle ) = @_[ ARG0 .. ARG4 ]; print Dumper( $syscall, $errno, $error, $id, $handle ); } $VAR1 = 'read'; $VAR2 = '0'; $VAR3 = ''; $VAR4 = 2; $VAR5 = 'STDERR'; $VAR1 = 'read'; $VAR2 = '0'; $VAR3 = ''; $VAR4 = 2; $VAR5 = 'STDOUT'; Firstly, is this expected? Secondly, when I have an executable that dies during execution (eg. Program => 'perl -e "die q/ horribly /;"'), the ErrorEvent is not triggered. Any ideas? Rob Rob Casey Implementation Analyst Essential and Direct Mail Development Hermes Precisa Australia (Victoria) Phone : (03) 9217-5501 Email : [EMAIL PROTECTED] ********************************************************************** IMPORTANT The contents of this e-mail and its attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you received this e-mail in error, please notify the HPA Postmaster, [EMAIL PROTECTED], then delete the e-mail. This footnote also confirms that this e-mail message has been swept for the presence of computer viruses by MimeSweeper. Before opening or using any attachments, check them for viruses and defects. Our liability is limited to resupplying any affected attachments. HPA collects personal information to provide and market our services. For more information about use, disclosure and access see our Privacy Policy at www.hpa.com.au **********************************************************************