3 sigtrap - Perl pragma to enable stack backtrace on unexpected signals
8 use sigtrap qw(BUS SEGV PIPE SYS ABRT TRAP);
12 The C<sigtrap> pragma initializes some default signal handlers that print
13 a stack dump of your Perl program, then sends itself a SIGABRT. This
14 provides a nice starting point if something horrible goes wrong.
16 By default, handlers are installed for the ABRT, BUS, EMT, FPE, ILL, PIPE,
17 QUIT, SEGV, SYS, TERM, and TRAP signals.
19 See L<perlmod/Pragmatic Modules>.