Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Controlling a Perl Daemon with Signalsby eastcoastcoder (Sexton) |
on Aug 05, 2005 at 21:08 UTC ( [id://481372]=perlquestion: print w/replies, xml ) | Need Help?? |
eastcoastcoder has asked for the wisdom of the Perl Monks concerning the following question:
Hi.
I have a Perl mini daemon that I would like to control as follows: 1) The daemon consists of a loop, which loops until either a counter is reached, or a TERM signal is received 2) When either of those happen, it waits till it finishes the current loop, then exits. Number 2 does not seem to happen Here is my code: Why no work?
Back to
Seekers of Perl Wisdom
|
|