Syntactic Confectionery Delight | |
PerlMonks |
Control C in PERL?by brassmon_k (Sexton) |
on Apr 18, 2001 at 01:35 UTC ( [id://73355]=perlquestion: print w/replies, xml ) | Need Help?? |
brassmon_k has asked for the wisdom of the Perl Monks concerning the following question:
Is there anyway in a PERL script to do this: I have an infinite loop statement but I want the script to not be terminated if someone does a control C ^C. Is there actually a way to tell PERL to ignore a ^C and continue with the loop. I tried telling it yeah, and I tried the slashes the quotes and everything but it still doesn't want to recognize the ^C I tried it many ways but the below is just an example:
Back to
Seekers of Perl Wisdom
|
|