dsb has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to catch SIG_INTs in the usual way:
$SIG{INT} = \&handler; sub handler { $sig++; }
Trouble is, it seems that everytime a signal is sent/caught, the process core dumps. I've read the bit in perlipc that talks about safe and unsafe signals and although I was initially running slightly more complicated code in the handler() routine, it is now as simple as is demonstrated here but still core dumping.

I have no more ideas and could use some help.

Thanks Paul. I'm on Solaris 10, using Perl 5.8.8.


This @ISA my( $cool ) %SIG