<?xml version="1.0" encoding="windows-1252"?>
<node id="937847" title="Re: Perl Signals" created="2011-11-13 20:18:56" updated="2011-11-13 20:18:56">
<type id="11">
note</type>
<author id="33341">
Albannach</author>
<data>
<field name="doctext">
You're making a piece of dumb text a handler. You need to reference the subroutine - try
&lt;code&gt;$SIG{'INT'} = \&amp;interrupt;&lt;/code&gt;
&lt;p&gt;
See also [doc://perlvar#%SIG]
&lt;p&gt;
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.
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;p&gt;--&lt;br&gt;
I'd like to be able to assign to an luser
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
937845</field>
<field name="parent_node">
937845</field>
</data>
</node>
