I think that might do what you want.my %hashOfAllElements = (); foreach $element (@array1, @array2) { $hashOfAllElements{ $element }++; } my @array3 = keys %hashOfAllElements;
Rob
In reply to Re: Arrays
by rje
in thread Comparing Two Arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |