PerlDaemon is a minimal Unix daemon framework. It can be programmed in Perl to perform any task. It supports automatic daemonizing, logging and logrotate support, clean shutdown, and PID files (including a check on startup). It's easy to configure and easy to extend by customizing the daemonloop subroutine.