Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://937847]
help
Chatterbox?
[Discipulus]: map of intenet

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-11-23 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (338 votes). Check out past polls.

    Notices?