Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: When I am using Ctrl-C and coming out of Perl Program

by Unforgiven (Hermit)
on Nov 02, 2009 at 13:48 UTC ( #804454=note: print w/replies, xml ) Need Help??


in reply to When I am using Ctrl-C and coming out of Perl Program

I think you're looking for %SIG, specifically $SIG{INT}. Here's a PM node about it, and an old (but as far as I see, still accurate) FAQ with a quick example.
  • Comment on Re: When I am using Ctrl-C and coming out of Perl Program

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-10-26 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (251 votes). Check out past polls.

    Notices?