|No such thing as a small change|
Re: tripping over filehandle / subroutine usageby LanX (Chancellor)
|on Dec 21, 2012 at 21:43 UTC||Need Help??|
just a guess:
ok, now that you updated code it seems like my guess was right:
my @rows = (<$input_handle>);
exhausts your filehandle.
BTW you should consider working with something like
to read line by line, when working with large files, because otherwise you're consuming lots of RAM.