Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Get the current function used to handle control+z

by ikegami (Patriarch)
on Dec 14, 2008 at 04:53 UTC ( [id://730248]=note: print w/replies, xml ) Need Help??


in reply to Get the current function used to handle control+z

Signals are sent using kill.

'<CONTROL+Z>' => sub { kill INT => $$ }

PS — Save yourself and ourselves trouble. Use <c>...</c> around code and data blocks.

Replies are listed 'Best First'.
Re^2: Get the current function used to handle control+z
by exodist (Monk) on Dec 14, 2008 at 05:08 UTC
    Thanks, however that seems to terminate the process, I want it to background the process. Maybe INT was not what I was looking for?

    --------------------------------------

    I would rather take 30 minutes to re-invent the wheel then take 30 days to learn how to use someone else's. Before pestering me about my re-invention prepare to defend yourself with a way of learning how to use the wheel in less time than it takes for me to make one, one that I might add is specialized to my specific task!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found