open OUT, "file.txt" or die "$!\n"; while(<OUT>) { do stuff here }
It was my belief that when you do the while bit here, it does not open the whole file. The result is it HANGS.
Can some one explain?
Thanks
John
Code tags and writeup formatting touched up by davido.
In reply to Iterating through HUGE FILES by jmaya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |