This has already been discussed thoroughly on Perl Monks. See How can I display a unique array if it contains some repeated elements and How can I extract just the unique elements of an array?.
Before asking questions here, please take a couple of minutes to see if your question has been answered. This particular question is answered in the Perl FAQ! You'll get a much quicker answer by using the full power of this site: try typing unique array into the search box found at the top of each page.
In reply to Re: Finding Redundant values in arrays
by tomhukins
in thread Finding Redundant values in arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |