in reply to Filtering the repeated text in array
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
|
|---|