How to push a hash on an array without flattening it to Pairs?

2015-09-25 Thread Gabor Szabo
In the first two cases the hash was converted to Pairs before assigning to the array. Only the third case gave what I hoped for. How can I push a hash onto an array as a single entity? use v6; my %h = x => 6, y => 7; say %h.perl; # {:x(6), :y(7)} my @a = %h; say @a.elems; # say @a[0];

require on string stopped working in rakudo 2015.09

2015-09-25 Thread Gabor Szabo
Hi, I am really glad Rakudo finally came out. I've installed in and tried to run the tests of Perl6::Maven. They quickly failed as I have been using 'require' on string to check if all the module compile properly. The following code now fails: use v6; my $name = 'Bailador'; require $name;