fat comman => fat comma

This commit is contained in:
tif-calin 2023-03-26 11:22:19 -07:00 committed by GitHub
parent 2505a5efe5
commit ce004b474f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ say @array; # OUTPUT: «a 6 b␤»
# context, and any duplicated keys are deduplicated. # context, and any duplicated keys are deduplicated.
my %hash = 'a' => 1, 'b' => 2; my %hash = 'a' => 1, 'b' => 2;
# Keys get auto-quoted when the fat comman (`=>`) is used. Trailing commas are # Keys get auto-quoted when the fat comma (`=>`) is used. Trailing commas are
# okay. # okay.
%hash = a => 1, b => 2, ; %hash = a => 1, b => 2, ;