{ my %seen; @A = grep { !$seen{$_}++ } @A; }
Originally posted as a Categorized Answer.
In reply to Re: How to find and remove duplicate elements from an array?
by jettero
in thread How to find and remove duplicate elements from an array?
by psmail
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |