in reply to Setting signal handlers
> why do I have to define a SigSet object that I never do anything with? Here it goes.
Create a new SigSet object. This object will be destroyed automatically when it is no longer needed. Arguments may be supplied to initialize the set.
Create an empty set.
Add a signal to a SigSet object.$sigset = POSIX::SigSet->new;
For more information on SigSet$sigset->addset( &POSIX::SIGUSR2 );