in reply to Re: No effect with SIG{INT}in thread No effect with SIG{INT}
$SIG{INT} = \&close(); # wrong $SIG{INT} = \&close; # ok [download]