for (1 ... #$array) { print $_; } #### for ( 1 ... $#array) { for (1 ... $#other_array) { print $_; print $_2; # ie the second assumed scalar? } }