Try:
instead. This will simply copy each line into memory as needed.while( my $line = <INP> ){ ... }
In reply to Re: Memory use when reading a text file
by ichimunki
in thread Memory use when reading a text file
by abingham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |