title: Check if process is running and kill it
body: <p>I am using perl version 5.8.4. </p>
  
  <p>I am working with a program called JMP. Before opening the program I want to use perl to check if a process of the program is already running. If it is running, I want to close it. </p>