Hi All, This one about killed me to find! The guys on the chat line figured it out for me. Apparently some tutorial is wrong on this too, but I couldn't figure out which one they were referring to.
When assigning a value to a hash using a variable as the key,
use {} instead of <>
perl6 -e ' my %x = ( "a" => "A", "b" => "x", "c" => "C" );
my $y="b";
%x{$y}="BB"; say %x;'
{a => A, b => BB, c => C}
Wow. I never would have guessed that one!
-T
