You can try using Tie::File, which will try as much as possible not to read the entire file into an array, while letting you use it as an array of lines.
In reply to Re: Editing a text file without reading it into an array
by mirod
in thread Editing a text file without reading it into an array
by whiteperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |