Stringifying version:
my %seen; my @unique = grep !$seen{$_}++, map "$_", @objects;
my %seen; my @unique = map !$seen{$_}++ ? "$_" : (), @objects;
In reply to Re^3: Strange compiler behavior with map?
by ikegami
in thread Strange compiler behavior with map?
by dwalin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |