Using Tie::File this way will still need to read and write the whole file. This is much slower than simply reading to the end to get the last line.
It also doesn't scale well for largish files, and doesn't address the concurrency issue.
In reply to Re: Re: writing to the top of a file
by BrowserUk
in thread writing to the top of a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |