$SIG{QUIT} = \&catchQuit
where catchQuit is the name of your sub to handle ^c.
To ignore ^c altogether, try
$SIG{QUIT} ='IGNORE';
and to restore it:
$SIG{QUIT}='DEFAULT'
PEACE
scmason
In reply to Re: Simple Question
by scmason
in thread Simple Question
by PyroX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |