in reply to disable ctrl+c in my program

Hi patrix,

the signal you want to catch is the interrupt signal.
Just put in a line like
$SIG{'INT'} = 'IGNORE';
and the program will no longer terminate on Ctrl-C

Hope this helps

thinker