Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Ensuring only one copy of a perl script is running at a time

by f00li5h (Chaplain)
on Dec 19, 2006 at 10:53 UTC ( #590641=note: print w/ replies, xml ) Need Help??


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

File::Pid may be helpful to you.

Also, merlyn wrote Highlander: one instance at a time (Oct 00). Although it does use flock

I'll skip the ever-so-tempting OS trolling ...

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;


Comment on Re: Ensuring only one copy of a perl script is running at a time
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://590641]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2014-08-22 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (156 votes), past polls