in reply to Re: array unique elements
in thread array unique elements

my %hash = map { $_ => 1 } @words; my @unique = keys %hash; this code is working for removing duplicates