hotshot has asked for the wisdom of the Perl Monks concerning the following question:
So far so good. Is there a way to let SIGINT gain it's default behaviour? In several functions of mine I would like the function to catch this signal regulary. how do I do it (is it possible to do: $SIG{INT} = 'DEFAULT'; or something?).$SIG{INT} = 'IGNORE';
sub func { local $SIG{INT} = 'IGNORE'; ... }
|
|---|