in reply to Problem with using $SIG{__DIE__} to restart program

have a different process act as a "nanny" and just restart your program if it dies

Another reason is that "die" won't always work: a "killed" program doesn't receive a "die" signal - it just dies.

  • Comment on Re: Problem with using $SIG{__DIE__} to restart program