Signals are sent using kill.
'<CONTROL+Z>' => sub { kill INT => $$ }
PS — Save yourself and ourselves trouble. Use <c>...</c> around code and data blocks.
In reply to Re: Get the current function used to handle control+z
by ikegami
in thread Get the current function used to handle control+z
by exodist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |