If I understand it correctly, "untie" will untie the array to the file (*unlocking the file), in essence would that be the same as "closing" the file?
untieing a Tie::File array will close the file. However, Tie::File will not do any file locking for you unless you ask it to via its ->flock method (also make sure to read up on flock about its details and caveats, such as only being advisory locking). Your OS or FS might do some locking of its own, however on a normal *NIX system that's unlikely.
In reply to Re^2: Capture Contents AND Overwrite without Opening Twice?
by Anonymous Monk
in thread Capture Contents AND Overwrite without Opening Twice?
by mmartin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |