full_compare \@ARR1, \@ARR2 Do a full comparison between two arrays. Checks each individual column. In scalar context returns the number of columns that differ (zero if the arrays are the same). In list context returns an list containing the indexes of the columns that differ (an empty list if the arrays are the same). #### foreach my $i (@differences) { print "$array1[$i] is not equal to $array2[$i]\n"; }