in reply to removing duplicates from a string list

This is a perlfaq, also available from your command line:
perldoc -q duplicate