Skip to content

Commit 9bcce59

Browse files
authored
Merge pull request #3362 from Raku/hashmap-perl-to-raku
Change .perl to .raku, ref #3309
2 parents b2a8ece + 82c5010 commit 9bcce59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Language/hashmap.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ which is used to indicate they are Associative.
104104
105105
Hash and map elements are accessed by key via the C<{ }> postcircumfix operator:
106106
107-
say %*ENV{'HOME', 'PATH'}.perl;
107+
say %*ENV{'HOME', 'PATH'}.raku;
108108
# OUTPUT: «("/home/camelia", "/usr/bin:/sbin:/bin")␤»
109109
110110
The general L<Subscript|/language/subscripts> rules apply providing shortcuts
@@ -272,8 +272,8 @@ Only use curly braces for creating Blocks.
272272
273273
You can assign to multiple keys at the same time with a slice.
274274
275-
my %h; %h<a b c> = 2 xx *; %h.perl.say; # OUTPUT: «{:a(2), :b(2), :c(2)}␤»
276-
my %h; %h<a b c> = ^3; %h.perl.say; # OUTPUT: «{:a(0), :b(1), :c(2)}␤»
275+
my %h; %h<a b c> = 2 xx *; %h.raku.say; # OUTPUT: «{:a(2), :b(2), :c(2)}␤»
276+
my %h; %h<a b c> = ^3; %h.raku.say; # OUTPUT: «{:a(0), :b(1), :c(2)}␤»
277277
278278
X<|non-string keys>
279279
X<|object hash>

0 commit comments

Comments
 (0)