http://www.perlmonks.org?node_id=1010178


in reply to Re: Croak or Die?
in thread Croak or Die?

That's right, moreover it provides sub routine name from where croak called. This is better way to catch error.