http://qs1969.pair.com?node_id=1155394

edimusrex has asked for the wisdom of the Perl Monks concerning the following question:

I am searching for a simple way to prevent a script from running if it's already running. In python I've used singleton from the tendo package, is there a similar module for Perl? I was looking into Class::Singleton but am not 100% sure if that's what I should be exploring.

Advice would be greatly appreciated

  • Comment on Preventing a script from running if it's already running

Replies are listed 'Best First'.
Re: Preventing a script from running if it's already running
by Your Mother (Archbishop) on Feb 16, 2016 at 20:41 UTC

      Excellent, I will read up on it.

      Thanks

Re: Preventing a script from running if it's already running
by Mr. Muskrat (Canon) on Feb 16, 2016 at 21:07 UTC