my @str = qw(aaa bbb ccc ddd eee ddd aaa bbb ccc); my %uniq = (); my @uniq_str = grep { ! $uniq{$_}++ } @str;
In reply to Re: how to remove duplicate strings?
by holcapek
in thread how to remove duplicate strings?
by heidi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |