The output of perl -V (uppercase "V") might also be useful in determining the problem.
In reply to Re: reading from a huge file by ikegami in thread reading from a huge file by esddew