Is there any way to call a subroutine when the user stops a perl script execution? For instance, on win32/unix machines, I add the following line: $SIG{INT} = \&ctrlc; Whenever the user presses Ctrl-C, the subroutine "ctrlc" is executed instead. Is there a way to do something similar on the mac? # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org