Recently I saw code solutions posted to perlmonks that used Tie::File to read a file but all output was sent to an output file. This didn't make sense to me. Then I saw other monks comment that Tie::File is slow for changing very large files so I read about how it buffers records it reads and writes. I didn't understand what the module would be good for.
This morning I found a blog entry that states that Tie::File "is a delightful way to do in place editing of files." This clicked for me and seems obvious now. Now I see in the synopsis for the module a comment about editing in place. What are others using this module for and how useful do you find it?
In reply to what is the purpose of Tie::File by Lotus1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |