Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: reliable lockfiles?

by temporal (Pilgrim)
on Jun 20, 2012 at 16:31 UTC ( [id://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.