Илья wrote: > Rakudo> my $i = { a => 1 }; $i = $i.keys; > Odd number of elements found where hash expected.
It's a bug, and already reported: http://rt.perl.org/rt3/Ticket/Display.html?id=59382 "[BUG] Scalars never give up their container type" > Rakudo> my $a = {a => 1}; my $b = {b => 1}; $a = $b; > Cannot morph a Perl6Scalar. I didn't know about that, but it could be another manifestation of this bug. Cheers, Moritz -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/