Reference two arrays in foreach statement
@array = (1, 2, 3); @array2 = (4, 5, 6); foreach $element (@array, @array2) { print "$element\n"; }