in reply to Re: Safe to open+close for every write, without locking?
in thread Safe to open+close for every write, without locking?
Thanks, informative slides.
Regarding slide #4 (Trap #1: LOCK_UN) surely it is no longer the case, since per "perldoc -f flock": "To avoid the possibility of miscoordination, Perl now flushes FILEHANDLE before locking or unlocking it."?
Also, thanks for the suggestion but I really do not want syslog for this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Safe to open+close for every write, with locking?
by flexvault (Monsignor) on Dec 21, 2012 at 18:25 UTC | |
by sedusedan (Pilgrim) on Dec 22, 2012 at 01:40 UTC |