Could it be more simple...?@array_thing = sort @array_thing; foreach (@array_thing) { push @unique if $_ ne $prev; $prev = $_; }
In reply to Re: Deciding unique elements of an array
by Sinister
in thread Deciding unique elements of an array
by Spliter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |