in reply to array unique elements

List::MoreUtils::uniq

You should also browse the Categorized Questions and Answers section: QandASection: arrays > How can I display a unique array if it contains some repeated elements

Also Super Search where title contains all of "unique", "array", "element":
http://www.perlmonks.org/?node_id=3989;HIT=unique%20array%20element;re=N