I have a program that is monitoring logfiles that keeps dying mysteriously. I'm using
which pipes information to my perl script. Is there a way to have my script do something to notify my as it gasps its last breath? I need to find some way to catch some debug information as it dies. :/