On Sun Jul 27 08:27:18 2008, masak wrote: > From S06 <http://dev.perl.org/perl6/doc/design/syn/S06.html>: > > ] {...} is always a block. However, if it is completely empty or > consists > ] of a single list, the first element of which is either a hash or a > pair, it > ] is executed immediately to compose a Hash object. > ] > ] [...] > ] > ] $obj = { 1=>2, 3=>4, 5=>6 }; # Anonymous hash > > Rakudo is not up to spec on this point: > > $ ./perl6 -e 'my $a = { 1 => 2 }; say $a<1>' > get_pmc_keyed() not implemented in class 'Closure' > This and the other cases that are mentioned in the bit of spec you quoted are implemented as of r30104.
Thanks, Jonathan