We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2617a3d commit decbae6Copy full SHA for decbae6
doc/Language/hashmap.pod6
@@ -530,7 +530,7 @@ for %h.keys.sort -> $k {
530
# use sort to ease output comparisons
531
print "$k => {%h{$k}}; ";
532
}
533
-say ''; # OUTPUT: «a => 1; b => 2;»
+say ''; # OUTPUT: «a => 1; b => 2; »
534
=end code
535
536
replace key 'b' with 'bb' but retain 'b's value as the new key's value:
@@ -544,7 +544,7 @@ for %h.keys -> $k {
544
for %h.keys.sort -> $k {
545
546
547
-say ''; # OUTPUT: «a => 1; bb => 2;»
+say ''; # OUTPUT: «a => 1; bb => 2; »
548
549
550
=end pod
0 commit comments