On Wed, Dec 31, 2008 at 08:06:48AM -0800, Ovid wrote:
> Just stumbled across this, but I can't tell from S09 if this is a bug or
> feature:
>
> $ ./perl6 -e 'my %foo; if %foo<a> {}; say %foo.perl'
> {"a" => undef}It's a bug. In order to simplify the slicing implementation Rakudo currently autovivifies elements on read access. This will be fixed again very soon -- I just want to get the other variable refactors for Rakudo worked out first. Pm
