http://qs1969.pair.com?node_id=612021

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.

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

Thanks


dsb
This @ISA my( $cool ) %SIG