|Just another Perl shrine|
signal handlingby debugger (Novice)
|on Feb 15, 2010 at 15:09 UTC||Need Help??|
debugger has asked for the wisdom of the Perl Monks concerning the following question:
The following code is not able to trap a signal (when i press ctrl-c). It doesnt call the subroutine sig_handler.
1. File a.pl call b.pl which runs in an infinite loop,
as soon as i run the command=>
I m using linux and perlv5.8.8.. Please suggest a solution that will work on windows as well as linux.
The code is working on windows using Active perl v5.8.8.
I mean i get the message "Sig trapped" on windows.