in reply to Re^3: Safe to open+close for every write, without locking?
in thread Safe to open+close for every write, without locking?
Hi Dave,
Thanks for writing the script. I added a seek($fh, 0, 2) before print $fh ... and it still manages to overlap.
So, flock() it is.
|
|---|