in reply to Re: Out of Memory Error : V-Lookup on Large Sized TEXT File
in thread Out of Memory Error : V-Lookup on Large Sized TEXT File
What op said:use strict; use warnings; # REFFILELIST is not the same as $ReferenceFilePath
The correct way is to iterate over the opened input largefile file handle.open (FILE, $ReferenceFilePath) or die "Can't open file"; chomp (@REFFILELIST = (<FILE>));
while (<FILE>) { chomp; #do something }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Out of Memory Error : V-Lookup on Large Sized TEXT File
by Laurent_R (Canon) on Apr 28, 2015 at 06:17 UTC | |
by Marshall (Canon) on Apr 30, 2015 at 03:59 UTC |