Carp always

ferreira on 2006-07-21T12:06:22

Have you ever used Carp::Indeed? That was a module to be used in command line so that every die/warn/carp/croak dumped stack traces. The output is a mess (with the help of Carp::longmess) but it may help sometimes.

This module was given another name, after a suggestion by nothingmuch on CPAN ratings. This is now Carp::Always and you use like this:

$ perl -MCarp::Always script.pl
Carp::Indeed was the subject of my first use.perl entry, back in August 2005.