in reply to similar items in a list

Not wishing to duplicate contributions to this well trodden subject I shall point you towards perlfaq4's How can I remove duplicate elements from a list or array? (thanks to perldoc -q duplicate) and a simple search for duplicates.
HTH

_________
broquaint