in reply to Get only unique values into array

Checkout the function uniq in List::MoreUtils.
Bill