Moritz (>), Carl (>>): >> Rakudo r33577 responds strangely to the following program: >> >> $ perl6 -e 'my $locator = method { .<here> }; my %h = { here => "foo" >> }; say %h.$locator' >> get_pmc_keyed() not implemented in class 'Undef' >> [...] >> >> I'd expect it to output "foo". > > Is it actually specified that an anonymous method should receive the > invocant as $_? if yes, where?
Yes, here: <http://perlcabal.org/syn/S12.html#line_279>