Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by ibm1620 (Hermit)
on Oct 17, 2013 at 15:59 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found