while (my $line = <MYINPUTFILE>){ ... }
is probably trying to read the whole file into @lines and _then_ loop over it. The while will read one line at a time.foreach $line (@lines){ ... }
Update
Better, check that $h[3] and $h[4] actually contain what you think they do.
In reply to Re: Reading 60k lines in file
by wfsp
in thread Reading 60k lines in file
by b_gsmls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |