in reply to Process Already Running

Proc::PID::File might be what you are looking for.
--
Andreas