Help for this page
my @list = qw(a b c d e a a b c d f g); # list with some duplicates my %h; ... print for sort keys %h; # sorting for clarity's sake #output abcdefg