in reply to Re^3: Why can't some of my modules do log output to a file?
in thread Why can't some of my modules do log output to a file?
Note from the docs: "To avoid the possibility of miscoordination, Perl now flushes FILEHANDLE before locking or unlocking it."
So, lock, write, unlock will cause 2 flushes. There is no need to explicitly seek or flush.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Why can't some of my modules do log output to a file?
by haukex (Archbishop) on Oct 11, 2022 at 06:20 UTC |