Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Preventing a script from running if it's already running

by edimusrex (Monk)
on Feb 16, 2016 at 20:36 UTC ( [id://1155394]=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1155394]
Approved by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found