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
In reply to Re: is Carp::longmess deprecated?
by kcott
in thread is Carp::longmess deprecated?
by kgoess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |