Proc::Pidfile is a very simple OO interface which manages a pidfile for the current process.