in reply to Re: [Perl 6] List of length 2 or...
in thread [Perl 6] List of length 2 or...

Not quite. grep @$_ == 2 returns $_ for each item, the map solution return @$_.

The equivalent is map @$_, grep @$_ == 2, I think.