in reply to is Carp::longmess deprecated?
I haven't needed to capture stacktrace information (as opposed to outputting it from confess or, rarely, cluck) for some years but I recall I generated custom stacktrace messages with caller.
Looking at the 5.12.2 source code (http://cpansearch.perl.org/src/JESSE/perl-5.12.2/lib/Carp.pm), croak and confess are implemented via longmess (with carp and cluck via shortmess):
sub croak { die shortmess @_ } sub confess { die longmess @_ } sub carp { warn shortmess @_ } sub cluck { warn longmess @_ }
There appears to be no change to that in the latest 5.13.7 development source (http://cpansearch.perl.org/src/BINGOS/perl-5.13.7/lib/Carp.pm), so no indication of deprecation at this point in time.
Maybe someone with insider information can provide a more definite answer.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: is Carp::longmess deprecated?
by kgoess (Beadle) on Nov 29, 2010 at 20:02 UTC | |
by kcott (Archbishop) on Nov 30, 2010 at 06:06 UTC |