Perl Series III

How to remove the repeated words in a line, like shown in file below vlsispace = “bin/trail/world”, “bin/drive/space”, “usr/bin/vlsi”, “bin/trail/world”; string1 = “bangalore”, “chennai”, “newyork”,