On Wed, Jun 05, 2002 at 03:49:59PM +1000, Angus Lees wrote: > At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote: > > I've got a situation where I want to able to write lock some of my epl > > components and know that the locking will be honoured ... > > just do the usual "write to a temporary file next to it, then rename > over the file you wanted" trick. IO::AtomicFile will do it for you, > in fact.
Yeah that handles atomic writes, but not proper atomic updates - read data, modify, write, avoiding the race condition between the read and the write. I think that requires proper locking? -G --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]