This is almost a FAQ.
sub uniq { my %h; return grep { !$h{$_}++ } @_ }
In reply to Re: Remove duplicate strings from an array
by ferreira
in thread Remove duplicate strings from an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |