3 # check hash access methods
10 say("ok 1 # hash assignment with numeric value doesn't barf");
12 say('ok ', %h<a> + 1, ' # hash access to numeric value');
15 say(%h<a>, ' # hash access to string value');
18 say('ok ', %h{1}, ' # numeric hash access');
20 say('ok ', %h<1> + 1, ' # numbers stringify');
22 %h{'b'} := 'ok 6 # single quoted curly braces work';
25 %h{"foo"} := "ok 7 # double quoted curly braces work";