handle [SIG [action1 action2 ...]]
Specify how to handle a signal SIG. SIG can be a signal name like SIGINT or a signal number like 2. The absolute value is used for numbers so -9 is the same as 9 (SIGKILL). When signal names are used, you can drop off the leading "SIG" if you want. Also letter case is not important either.
Arguments are signals and actions to apply to those signals. recognized actions include "stop", "nostop", "print", "noprint", "pass", "nopass", "ignore", or "noignore".
stop means reenter debugger if this signal happens (implies print and nopass).
stop
print
nopass
Print means print a message if this signal happens.
Print
Pass means let program see this signal; otherwise the program see it.
Pass
Ignore is a synonym for nopass; noignore is a synonym for pass.
Ignore
noignore
pass
Without any action names the current settings are shown.
handle INT # Show current settings of SIGINT handle SIGINT # same as above handle int # same as above handle 2 # Probably the same as above handle -2 # the same as above handle INT nostop # Don't stop in the debugger on SIGINT
To install Devel::Trepan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Trepan
CPAN shell
perl -MCPAN -e shell install Devel::Trepan
For more information on module installation, please visit the detailed CPAN module installation guide.