This is a frequently asked question - which makes it easy for us to answer: Just look here in the perlfaq (chapter 4).
note: in case you want to find a solution on your own, use the following hint (also taken from the FAQ):
Use a hash. When you think the words "unique" or "duplicated", think "hash keys".
HTH, Rata
In reply to Re: Filtering the repeated text in array
by Ratazong
in thread Filtering the repeated text in array
by ozgurp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |