sigtrap
Section: Perl Programmers Reference Guide (3)
Updated: perl 5.003 with
Index
Return to Main Contents
NAME
sigtrap - Perl pragma to enable stack backtrace on unexpected signals
SYNOPSIS
use sigtrap;
use sigtrap qw(BUS SEGV PIPE SYS ABRT TRAP);
DESCRIPTION
The sigtrap pragma initializes some default signal handlers that print
a stack dump of your Perl program, then sends itself a SIGABRT. This
provides a nice starting point if something horrible goes wrong.
By default, handlers are installed for the ABRT, BUS, EMT, FPE, ILL, PIPE,
QUIT, SEGV, SYS, TERM, and TRAP signals.
See the section on Pragmatic Modules in the perlmod manpage.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 15:34:41 GMT, January 15, 2023