1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 04:20:39 +02:00

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

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, ;