in reply to What the flock!? Concurrency issues in file writing.
You don't check the return value of flock. It can fail, like every other system call.
In Section
Seekers of Perl Wisdom
in reply to What the flock!? Concurrency issues in file writing.