Re: assign to Scalar with hash

2008-11-04 Thread Moritz Lenz
Илья 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;

assign to Scalar with hash

2008-11-04 Thread Илья
Hi there, Rakudo my $i = { a = 1 }; $i = $i.keys; Odd number of elements found where hash expected. Rakudo my $a = {a = 1}; my $b = {b = 1}; $a = $b; Cannot morph a Perl6Scalar. I missed something or that`s bugs? Ilya