in reply to How do i obtain the PID of a program already running.
The Proc::ProcessTable module gives you a relatively OS independant way of getting and working with a process list.
-- lhoward