#since they're the same length... for(0..$#array1) { print $array1[$#array1 - $_]; print $array2[$#array2 - $_]; }