Another possibility, if you want to keep this as an array. Sort the array. Then iterate through it, comparing consecutive elements. If equal, delete one and repeat, until you've reached the last element.
In reply to Re: removing repeated elements from one array
by spiritway
in thread removing repeated elements from one array
by perlbeginner10
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |