I hate die
it is, in my humble opinion, one of the worst parts of perl. I really wish it would be deprecated,
and removed, or at least replaced with something that would tell you were the code that was die-ing was being called.
Replace its implementation with that of Carp’s croak
or confess
and I’d be happy. Better yet, let’s just
get real exception support and deprecate die (even if that’s never removed deprecation just make that real big
on its pod). If you’re using die
please stop and use Carp, anyone using your module will thank (and by thank
I mean not curse) you later.
Load comments