[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

A long mess



Hi!

I just needed Carp::longmess and found that their documentation was
removed before 5.10 was released. Well, not completely:

"In the case of cluck, confess, and longmess ..."

Getting a stack trace into a string is quite useful, and I'm not aware
of a smple replacement for longmess. Carp::longmess seems to be a long
mess, according to the comments in longmess_real, so I understand why it
was expurgated from the POD. But there is no documented replacement, so
I seem to have the choice of coding something that uses caller() myself
(like Carp::long_error_loc), or using the undocument (well, partly) and
deprecated (really?) Carp::longmess. I don'el want to introduce another
CPAN module in the customer's environment, that's always a hassle (I
believe I saw a Devel module that might do the job).

May I ask for Carp to expose something like long_error_loc or
longmess_heavy? Maybe Carp::stack_trace?

Thank you,
Lupe Christoph
-- 
| The whole aim of practical politics is to keep the populace alarmed    |
| (and hence clamorous to be led to safety) by menacing it with an       |
| endless series of hobgoblins, all of them imaginary.                   |
| H. L. Mencken, "In Defense of Women", 1918                             |


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]