Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2016-10-22 06:56 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.