On 2/8/24 11:54, Dan Book wrote:
> On Thu, Feb 8, 2024 at 11:29?AM Michael Conrad <mike@nrdvana.net> wrote:
>
> (Semi-related, the other big debugging feature missing from core
> perl is Carp::Always. How on earth are new developers supposed to
> realize that the way to get an extended stack trace is a CPAN
> module named "Carp::Always"???)
>
> My recommendation for inclusion in core for this purpose would be
> Devel::Confess.
>
> -Dan
I was sort of meaning the name as well. "carp" "cluck" "croak"
"confess" are all fun quirky perl-isms, but anyone coming from another
language is going to search for "stack trace"
i.e. what if you could actually control how many lines of stack trace
get appended to a 'die' or 'warn'?
perl --stacktrace=full
perl --stacktrace=10
> On Thu, Feb 8, 2024 at 11:29?AM Michael Conrad <mike@nrdvana.net> wrote:
>
> (Semi-related, the other big debugging feature missing from core
> perl is Carp::Always. How on earth are new developers supposed to
> realize that the way to get an extended stack trace is a CPAN
> module named "Carp::Always"???)
>
> My recommendation for inclusion in core for this purpose would be
> Devel::Confess.
>
> -Dan
I was sort of meaning the name as well. "carp" "cluck" "croak"
"confess" are all fun quirky perl-isms, but anyone coming from another
language is going to search for "stack trace"
i.e. what if you could actually control how many lines of stack trace
get appended to a 'die' or 'warn'?
perl --stacktrace=full
perl --stacktrace=10