File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ to do this.
292
292
= head1 Static fields?
293
293
294
294
Perl 6 has no B < static > keyword. Nevertheless, any class may declare anything
295
- that a module can, so making a scoped variable sounds like good idea.
295
+ that a module can, so making a scoped variable sounds like a good idea.
296
296
297
297
= begin code
298
298
class Singleton {
Original file line number Diff line number Diff line change @@ -580,8 +580,8 @@ variables.
580
580
say [$a, $b, $c].perl;
581
581
# OUTPUT: «["a", "b", Int]»
582
582
583
- To destructure a list into a single value, create a list literal with one element
584
- by using C < ($var,) > . When used with a variable declarator, providing
583
+ To destructure a list into a single value, create a list literal with one
584
+ element by using C < ($var,) > . When used with a variable declarator, providing
585
585
parentheses around a single variable is sufficient.
586
586
587
587
sub f { 1,2,3 };
You can’t perform that action at this time.
0 commit comments