FAQ it up !
$ perldoc -q duplicate
perlfaq4 How can I remove duplicate elements from a list or array?
In reply to Re: Uniq and sort in perl by Anonymous Monk in thread Uniq and sort in perl by slayedbylucifer