Try looking into the POSIX module if you're on a system
that supports POSIX (probably unix specific) and look
into the C sigaction function for your system (as suggested
by blue). The docs I have on the POSIX perl module says
that it supports sigaction. I've never used it, but it's
documented to be there...
mortis