Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: reliable lockfiles?

by temporal (Pilgrim)
on Jun 20, 2012 at 16:31 UTC ( #977395=note: print w/ replies, xml ) Need Help??


in reply to reliable lockfiles?

Thanks for the great replies!

I think I'll use flock as tye suggested. Seems to do exactly what I'm looking for. I like the idea of using directory that gets cleared out on boot like moritz suggested as well. That was my initial thought for using File::Temp, to get access to the system specified temp directory.

Strange things are afoot at the Circle-K.


Comment on Re: reliable lockfiles?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2015-07-29 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls