This kind of question has been previously excellently answered by Grandfather in Re: A perl daemon.
Super Search is your friend & helpful in extracting results from previous nodes provided specific keywords.
In reply to Re: How to Write a Proper Daemon
by shigetsu
in thread How to Write a Proper Daemon
by c4onastick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |