Assuming all the arrays have the same length...
print "$array1[$_], $array2[$_], $array3[$_]\n" for 0 .. $#array1;
See perldata for a description of $#array which I presume is the bit you were struggling with
In reply to Re: Matching Values in Arrays
by FunkyMonk
in thread Matching Values in Arrays
by Dr.Avocado
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |