Skip to content

Commit c46235e

Browse files
authored
add a warning note
1 parent 9950378 commit c46235e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/Language/hashmap.pod6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ or even
147147
148148
or
149149
150-
my %h = [ a => 'b', c => 'd', e => 'f' ];
150+
my %h = [ a => 'b', c => 'd', e => 'f' ]; # This format is NOT recommended.
151+
# It cannot be a constant and there
152+
# will be problems with subhashes.
151153
152154
or
153155

0 commit comments

Comments
 (0)