Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Can't catch signals after an exec?

by ibm1620 (Pilgrim)
on Oct 17, 2013 at 15:59 UTC ( #1058640=note: print w/replies, xml ) Need Help??


in reply to Re: Can't catch signals after an exec?
in thread Can't catch signals after an exec?

In your reworking of the perlipc example, you use HUP and INT interchangeably. Did you intend to use one xor the other?
  • Comment on Re^2: Can't catch signals after an exec?

Replies are listed 'Best First'.
Re^3: Can't catch signals after an exec?
by derby (Abbot) on Oct 20, 2013 at 11:43 UTC

    Nope ... just a typo. It should one or the other. In the perldocs, they describe HUP but the OP was only interested in INT -- I foobar-ed the example by switching (but in this case it only matters from a maintenance/consistency view -- the signal SIGINT should probably not be handled my a method named sigHUP!).

    -derby

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2022-05-20 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (72 votes). Check out past polls.

    Notices?