in reply to how to force a stack trace
Hi,
have a look at Carp::Always, Devel::SimpleTrace and perldoc perlvar searching for %SIG.
Best regards McA