Hi All, I used the $SIG{'INT'} = 'IGNORE'; in a sub in my script so that the script while executing the particular sub will ignore the ctrl-c. And I gave $SIG{'INT'} = 'DEFAULT'; at the end of the sub to reset the behavior back to normal. But when i give the ctrl-c the process seems to be hanging and I have to kill the process from the prompt. Is there any way to avoid getting this behavior?? When i give the ctrl-C the script should just ignore it and continue the process. I am on Sun Solaris box and using Perl version 5.8.7.
Could anyone help me please?? Thanks in advance.. Regards, GK.