>>>>> "Shaun" == Shaun Fryer <[EMAIL PROTECTED]> writes:

Shaun>     open(OUT, ">$file");
Shaun>     flock(OUT, LOCK_EX);

No point here.  You've already killed the file, non exclusively,
and then you get a flock.  Pointless.

Shaun>     flock(OUT, LOCK_UN);

Rarely needed, almost always dangerous.  Don't LOCK_UN unless you
completely understand why I said that. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to