in reply to Memory use when reading a text file
The standard idiom of processing a file line by line is:
That should cut your memory usage as it doesn't read in the entire file in memory (unless there's just one line in the file...)while (<IN>) { # Processing goes here; the current line is in $_ }
Abigail
|
|---|