for my $i (0 .. $#lines) #### for my $line (@lines)