Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perl Signals

by Albannach (Prior)
on Nov 14, 2011 at 01:18 UTC ( #937847=note: print w/ replies, xml ) Need Help??


in reply to Perl Signals

You're making a piece of dumb text a handler. You need to reference the subroutine - try $SIG{'INT'} = \&interrupt;

See also %SIG

Ok, my bad, it seems you should be able to do what you tried (I've just never done it that way). Perhaps someone else can shed light on this.

--
I'd like to be able to assign to an luser


Comment on Re: Perl Signals
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2015-07-06 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls