Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Setting signal handlers

by jesuashok (Curate)
on May 10, 2006 at 05:52 UTC ( #548390=note: print w/replies, xml ) Need Help??


in reply to Setting signal handlers

Hi

> 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"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2021-03-09 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (129 votes). Check out past polls.

    Notices?