Signal Handler Options

Used to specify which handler will be installed for signals installed after the handler:

die

Installs handler that dies with a message indicating the signal that was trapped.

handler handlername

Installs your handler handlername.

stack-trace

Default signal handler. Outputs stack trace to STDERR and tries to dump core.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.