http://www.perlmonks.org?node_id=590693


in reply to Ensuring only one copy of a perl script is running at a time

You may want to try Sys::RunAlone by Elizabeth Mattijsen as well.
  • Comment on Re: Ensuring only one copy of a perl script is running at a time