mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 04:04:29 +03:00
fat comman => fat comma
This commit is contained in:
parent
2505a5efe5
commit
ce004b474f
@ -122,7 +122,7 @@ say @array; # OUTPUT: «a 6 b»
|
||||
# context, and any duplicated keys are deduplicated.
|
||||
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.
|
||||
%hash = a => 1, b => 2, ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user