in reply to when to use die, questions about program feedback to the coder
If you do convert to throwing exceptions for errors, you can use evals in your calling code to control whether the exceptions will actually kill your program.
There is a nice chapter in Damian's Perl Best Practices book on error handling too.
|
|---|