
Devel::confess is meant as a debugging aid. it can be used to make a script complain loudly with stack backtraces when warn()ing or die()ing. unlike other similar modules (e.g. carp::always), it includes stack traces even when exception objects are thrown.
the stack traces are generated using carp, and will work for all types of errors. carp's "carp" and "confess" functions will also be made to include stack traces.