In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Parker Richard-A19798) writes:
>I have a program that I wrote which take input from a pipe and then distributes
>to certain log files.
>
>What happens is that for no particular reason that I can find, the program dies.
>
>What do I put in to find out what killed it or what it died from?
Others are addressing the program itself, but a general answer to your
question is to insert
use Carp qw(confess);
$SIG{__DIE__} = sub { confess @_ };
near the top of your program. You should then get more information when it
dies.
--
Peter Scott
http://www.perldebugged.com/
*** NEW *** http://www.perlmedic.com/