in reply to
Strange flock results?
Maybe output buffering is the problem here. Try to set $| or autoflush to a true value on your file handles.
Comment on
Re: Strange flock results?
Replies are listed 'Best First'.
Re: Strange flock results?
by
Abigail-II
(Bishop)
on Apr 27, 2004 at 13:49 UTC
Ever since at least 5.004, perl flushes filehandles before (un)locking a file. See perl5004delta.pod.
Abigail
[reply]
In Section
Seekers of Perl Wisdom