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:
dsb
This @ISA my( $cool ) %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.$SIG{INT} = \&handler; sub handler { $sig++; }
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
Back to
Seekers of Perl Wisdom