Unix Daemons in Perl | 4
Unix Daemons in Perl
In this tutorial, we learned how to create a robust daemon in Perl for most any *nix system. You might be surprised at how simple it is to craft one of these mystical beasts. Once you understand how it works, you can have some great fun on your system and escape the limits of cron at the same time. If you create a cool Perl daemon, I'd like to hear about it. Send the source and description to firstname.lastname@example.org, and I'll post the best entries to the Mother of Perl homepage.
For more information, try the perlipc documentation included with the Perl distribution. i.e. perldoc perlipc. UNIX Network Programming, published by Prentice-Hall and Advanced Programming in the UNIX Environment, published by Addison Wesley, both written by the late Richard Stevens, are also excellent resources for understanding how daemons work. As always, please feel free to send me feedback if you run into problems, have suggestions, or even contributions.
If you're an NT user, never fear. The next tutorial will cover Perl daemons on win32 systems. Maybe someone who has a Mac will send me a version that will run on MacOS.