I suggest Proc::PID_File.
In reply to Re: How to verify if a daemon is up and running ? by ehdonhon in thread How to verify if a daemon is up and running ? by wube