At 15.24 -0400 1999.04.21, Vicki Brown wrote: >Or check how old the file is an delete it yourself. Or raise a red flag. Or >something. > >At least with a semaphore, you're in charge. Yes, it is just messier without flock or some similar thing. Actually, a way you could do it in MacPerl would be to hold the file open for writing. That forces it into a systemwide mandatory lock ... except for the MacPerl program itself. So it would prevent others from opening it for writing, but if you are running multiple scripts within MacPerl (say, when MacPerl has threading), then it might not do anything to prevent other MacPerl scripts from opening it for writing. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org