On Tue, 27 Jan 2015 10:48:43 -0500
Brandon McCaig <[email protected]> wrote:

> It would not be very pleasant if most things die() on error because
> errors are normal and usually we don't want robust programs to crash
> when something innocent fails, nor do we want to have to wrap every
> error that we can recover from with eval blocks (i.e., similar to
> try...catch in other languages) to handle errors.

`die` is Perl's way to throw exceptions. Avoiding `die` is avoid
exceptions.


-- 
Don't stop where the ink does.
        Shawn

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to