use Tie::File; tie @array, 'Tie::File', $filename or die $!; for (@array) { # parse # insert } [download]
In reply to Re: processing huge files by izut in thread processing huge files by geektron