in reply to Removing duplicate elements from an array

my %unique; @unique{@dups} = (); my @uniq = keys %unique;

If you want this data to be unique you might be better to use a hash in the first place.

cheers

tachyon