in reply to Abort if instance already running?
There's a Proc::Pidfile module just to do this for you.