in reply to Comparing Arrays -> storing results in a third Array

You might also want to try davorg's Array::Compare.
my $comp = Array::Compare->new(DefFull => 1); $comp->compare(\@arr1, \@arr2);
Returns a list of elements which are different. Returns an empty list if the array's are the same.

HTH

-- vek --