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.
In reply to Re^4: Safe to open+close for every write, without locking?
by sedusedan
in thread Safe to open+close for every write, without locking?
by sedusedan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |