in reply to duplicate lines in array

Start with perldoc -q duplicate and adjust.

Abigail