in reply to when to use die, questions about program feedback to the coder

You can use 'warn' or 'die' to inform someone about errors. I wrote a module that mail someone the errors 'warn' and 'die' threw, based on merlyn's column. The module is called Carp::Mailer, and is available on CPAN.

The easiest way to wrap them is assigning a subroutine to $SIG{__DIE__} and $SIG{__WARN__}. For further information check perlipc.

Igor 'izut' Sutton
your code, your rules.