in reply to How to remove duplicate records

This is a FAQ. See perlfaq4 on "duplicate", or alternatively run

perldoc -q duplicate