confessing a carp
Tim Bunce wrote:
>
> I'd like to be able to use, or tell people to use, a simple command like:
>
> PERL_CONFESS=1 bad_script.pl
Does not work for csh folk - they have to do use env or
do setenv.
> or
> perl -MCarpConfess bad_script.pl
This is a bit like -Mblib - pragma-ish so how about
perl -Mconfess bad_script.pl
> [...]
> Note that the whole point is to have a global effect so an alternate Carp
> module would not be appropriate.
>
> I think I prefer the very small change to Carp.pm.
I think I prefer the very small auxillary module:
Credited: Hugo van der Sanden <hv@crypt.compulink.co.uk>
Credited: Tim Bunce <Tim.Bunce@ig.co.uk>
p5p-msgid:
33E79BE2.4E6F@ni-s.u-net.com