Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Control C in PERL?

by jwest (Friar)
on Apr 18, 2001 at 01:43 UTC ( [id://73357]=note: print w/replies, xml ) Need Help??


in reply to Control C in PERL?

A control-C is actually an interrupt signal, by the time your terminal driver is done mangling it. Install a signal handler for INT that ignores the signal. Such as:
$SIG{INT} = 'IGNORE';
Hope this helps!

--jwest
-><- -><- -><- -><- -><-
All things are Perfect
    To every last Flaw
    And bound in accord
         With Eris's Law
 - HBT; The Book of Advice, 1:7

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://73357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2024-04-23 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found