A simple question (I hope). I'm working with an automated file transfer system and use Perl programs extensively to run the processes. I'm wondering if it is possible to have the die() function do some actions before it completely dies. Such as saving a copy of the log file and send out a page to let us know that something blew up. I'm not completely familiar with the die() but from what I've read, I haven't seen anything to say if it is possible or not.