in reply to Deleting Duplicates in an array

perldoc is your friend:

perldoc -q duplicate