note
SuicideJunkie
<p>The large amount of commented-out code may be hiding something... I see you have declared @array, but I can't spot where you populate it.</p>
<p>It also seems to me that you probably don't want @array anyways, since that implies reading the entire file into memory instead of processing it a line at a time. Replacing <c>@array</c> with <c>my $line = <$ifh></c> is usually the better approach.</p>
1177387
1177387