in reply to Checking database for match

perldoc -q duplicate