in reply to Re: Strange SIGNAL HANDLER behavior...
in thread Strange SIGNAL HANDLER behavior...
..and 2) Why doesn't the hard anonymous subroutine reference also execute the subroutine immediately? Doesn't this say set $SIG{QUIT} to the value returned by sub{ GotSignal('quit'} }; ??$SIG{INT} = \&got_int;
I'm just trying to make sense of Perl's internal logic here.. Maybe that's my first mistake... ;-)local $SIG{QUIT} = sub { GotSignal('quit') };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (3): Strange SIGNAL HANDLER behavior...
by VSarkiss (Monsignor) on Oct 24, 2001 at 23:59 UTC |