Use daemontools. (HOWTO)
Alexander
In reply to Re: Perl script as daemon by afoken in thread Perl script as daemon by Anonymous Monk