This is covered in the Perl FAQ. See How do I compute the difference of two arrays?
In reply to Re: Remove similar elements in both the array
by data64
in thread Remove similar elements in both the array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |