in reply to Re^2: Strange compiler behavior with map?
in thread Strange compiler behavior with map?

Stringifying version:

my %seen; my @unique = grep !$seen{$_}++, map "$_", @objects;
my %seen; my @unique = map !$seen{$_}++ ? "$_" : (), @objects;