in reply to Re^3: How to print the backtrace in a "catch" block?
in thread How to print the backtrace in a "catch" block?

$SIG{__DIE__} = sub { cluck shift; }
did in fact do what I want (just need to make it look nicer). Thanks

Replies are listed 'Best First'.
Re^5: How to print the backtrace in a "catch" block?
by tobyink (Canon) on Jan 16, 2012 at 17:25 UTC

    This looks nicer. It's got a winking open-mouthed smiley and a bug-eyed tongue-sticking-out smiley.

    $SIG{__DIE__} = sub { cluck shift ;-0 } or 8-P ;