in reply to Process Already Running
I think Proc::ProcessTable might be handy for what you try to do..