Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 browsing the Monastery: (8)
As of 2014-12-26 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls