Hi there!
#Signal-handling for Ctrl-C
#
$SIG{INT} = \&whenbreak;
#This triggers when CTRl-C.
#
sub whenbreak {
$SIG{INT} = \&whenbreak;
warn "\n\nChildprocess killed.\n\n";
}
How can I do that a background-process would not stop? (say that I only
want to break current child process, not the parent process also?)
/G
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
