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.

$sigset = POSIX::SigSet->new;
Add a signal to a SigSet object.
$sigset->addset( &POSIX::SIGUSR2 );
For more information on SigSet

"Keep pouring your ideas"