in reply to Re: iterating 2 arrays in parallel
in thread iterating 2 arrays in parallel

for (my $i = 0; $i < @array1; $i++) {

Eek!

for my $i ( 0 .. $#array1 ) {

;-)

Replies are listed 'Best First'.
Re^3: iterating 2 arrays in parallel
by JavaFan (Canon) on Apr 19, 2009 at 19:10 UTC
    Ah, the "There's only one (proper) way to do it" attitude.

    Sorry, but you can find Python around the next corner.