Perl: the Markov chain saw | |
PerlMonks |
Re^2: Safe to open+close for every write, without locking?by sedusedan (Monk) |
on Dec 21, 2012 at 12:18 UTC ( [id://1009907]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|