File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2347,14 +2347,15 @@ my %features = %hash, :wields("hammer");
2347
2347
say %features; # OUTPUT: «{god => Þor, is => mighty, wields => hammer}»
2348
2348
= end code
2349
2349
2350
- The comma is slso used syntactically as the separator of arguments in calls.
2350
+ The comma is also used syntactically as the separator of arguments in
2351
+ calls.
2351
2352
2352
2353
2353
2354
= head2 infix C « : »
2354
2355
2355
- Used as an argument separator just like infix C < , > and marks the argument to
2356
- its left as the invocant. That turns what would otherwise be a function call
2357
- into a method call.
2356
+ Used as an argument separator just like infix C < , > and marks the
2357
+ argument to its left as the invocant. That turns what would otherwise be
2358
+ a function call into a method call.
2358
2359
2359
2360
substr('abc': 1); # same as 'abc'.substr(1)
2360
2361
@@ -2895,4 +2896,4 @@ say [%] ();# OUTPUT: «(exit code 1) No zero-arg meaning for infix:<%>
2895
2896
2896
2897
= end pod
2897
2898
2898
- # vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
2899
+ # vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
You can’t perform that action at this time.
0 commit comments