is there a way to configure Exception::Class so that Perl will show the full stracktrace without myself having to first catch the exception and then call the trace method?
i.e. I want $my_execpt->throw('error_msg') to have the same effect as confess('error_msg')I need this behaviour because there are times when I want to raise an exception (e.g. subroutine called without a required parameter) but don't want to write a handler for it - and I still need the stracktrace.
In reply to Strack traces with Exception::Class by Arunbear
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |