in reply to File Locking Tricks and Traps
On slide 6 this line:
Should be:open SELF, "< $0" or die ...;
Due to the fact that some OS's won't allow an exclusive lock on a file that has been opened for read only.open SELF, "+< $0" or die ...;
-Nitrox
|
---|
In Section
Meditations