Re^2: Capturing stack trace in evalby ikegami (Pope)
|on Oct 07, 2009 at 20:26 UTC||Need Help??|
Yes, but it wouldn't work for Perl errors such as the one the OP wants to capture, "Can't use an undefined value as a symbol reference".
It won't catch run-time errors or XS errors either. Perl and XS don't call die, a Perl-space function. They call C function croak (not the one from Carp). Therefore, it only catches user-thrown errors.