Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 chanting in the Monastery: (10)
As of 2014-07-11 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (223 votes), past polls