[plug] perl flock question
Patrick Tehvand
patrick at perthix.net
Wed Nov 6 13:33:00 WST 2002
Hi all,
is this the correct usage of flock?
open(FILE,">$file");
flock (COUNTER, 2);
print FILE "$in{stuff}|$in{otherstuff}";
flock (FILE, 8);
close(FILE);
--
Patrick Tehvand
Systems Support
Perth iX
+61 8 9216 6699
_____________________________________________________________________
This e-mail is brought to you 100% virus free by Perth iX using MessageLabs SkyScan scanning service. For more information please call Perth iX on +61 8 92166600 or email info at perthix.net.
More information about the plug
mailing list