Have you tried remove duplicate elements from a list or array? This is available via perldoc -q duplicate too.
In reply to Re: removing duplicate entries from an array
by Corion
in thread removing duplicate entries from an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |