http://qs321.pair.com?node_id=1215479


in reply to Should I use carp/croak or warn/die

On a meta level ...

Personally I find the interface not too convincing

I ended up writing my own routines handling all of this, because we have to install our own die-handlers too, but I'm far from having a convincing solution yet.

Even considering the interface ...

... maybe something like warn_up $level, msg with special "levels", like a package-regex or something and negative numbers for stack-trace.

Nevertheless thanks for the question, frontpaged! =)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery