in reply to How can I display a unique array if it contains some repeated elements
my %h; grep { !$h{$_}++ } @list; [download]