Sigtrap

sigtrap(3p) Perl Programmers Reference Guide sigtrap(3p)

Sigtrap

sigtrap(3p) Perl Programmers Reference Guide sigtrap(3p) # sigtrap(3p) Perl Programmers Reference Guide sigtrap(3p) NNAAMMEE # sigtrap - Perl pragma to enable simple signal handling SSYYNNOOPPSSIISS # use sigtrap; use sigtrap qw(stack-trace old-interface-signals); # equivalent use sigtrap qw(BUS SEGV PIPE ABRT); use sigtrap qw(die INT QUIT); use sigtrap qw(die normal-signals); use sigtrap qw(die untrapped normal-signals); use sigtrap qw(die untrapped normal-signals stack-trace any error-signals); use sigtrap 'handler' => \&my_handler, 'normal-signals'; use sigtrap qw(handler my_handler normal-signals stack-trace error-signals); DDEESSCCRRIIPPTTIIOONN # The ssiiggttrraapp pragma is a simple interface to installing signal handlers. ...