Rather than offering code, which would look like hundreds of other code-fragments that do basically the same thing, I instead recommend that you look at either or both of the following:
The Net::Server module offers some very easy-to-use models for network daemon applications. And I consider Lincoln Stein's NPWP to be indispensible.
--rjray
In reply to Re: How to get a persistent daemons after exiting the session?
by rjray
in thread How to get a persistent daemons after exiting the session?
by hackmare
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |