This will trap Ctrl-C on Unix systems (dunno about Windows) and allow you to put the appropriate action into the END block.use sigtrap(die INT) END { ##do whatever it is you need to do }
In reply to Re^2: Perl action on cancellation
by tirwhan
in thread Perl action on cancellation
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |