Think about Loose Coupling | |
PerlMonks |
Re: Question about flock and printing to fileby RichardK (Parson) |
on Jun 23, 2015 at 15:23 UTC ( [id://1131657]=note: print w/replies, xml ) | Need Help?? |
As it says in the docs flock :- locks are merely advisory Exactly what happens will depend on the operating system you're on, what other process is trying to write to the file, and the exact timing of the writes. IMHO flock just isn't worth using, it's almost entirely pointless.
In Section
Seekers of Perl Wisdom
|
|