...just be sure not to reference $#array or scalar @array, otherwise you have to wait for the whole file to have been shuffled through memory.
Consuming 1.5GB of ram in the process on my 40e6 line, 3.6GB file. On a Terabyte size file?
In reply to Re^5: Read Some lines in Tera byte file
by BrowserUk
in thread Read Some lines in Tera byte file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |