From Carp:BEGIN {$Carp::Verbose=0; $Carp::CarpLevel = 1; #<-- add this (for your demo) };
6. $Carp::CarpLevel can be set to skip a fixed number of additional call levels. Using this is not recommended because it is very difficult to get it to behave correctly.So, you might need to use something like local $Carp::CarpLevel
In reply to Re: carp always showing stacktrace
by Perlbotics
in thread carp always showing stacktrace
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |