1. First Ctrl-C => Just warn and wait for a key-stroke, if any key other then Ctrl-C is presses, continue with the program.
2. If Ctrl-C was pressed again => Try to die gracefully, meaning do some cleanup before dying.
3. If while trying to die gracefully another Ctrl-C is pressed => die immediately
Thanks
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>