Help for this page
$SIG{INT} = 'IGNORE';
$SIG{INT} = \&interrupt; ... print STDERR "Caught a control c!\n"; exit; # or just about anything else you'd want to do }