File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ parenthesize a statement if it is the last thing in an expression:
86
86
87
87
= head2 X < if|control flow >
88
88
89
- To conditionally run a block of code, use a C < if > followed by a condition.
89
+ To conditionally run a block of code, use an C < if > followed by a condition.
90
90
The condition, an expression, will be evaluated immediately after the
91
91
statement before the C < if > finishes. The block attached to the condition will
92
92
only be evaluated if the condition means True when coerced to C < Bool > .
@@ -191,7 +191,7 @@ All the same rules for semicolons and newlines apply, consistently
191
191
else { say "yes" } ; # -> says "yes"
192
192
193
193
The whole thing produces either an empty list (if no blocks were run)
194
- or the value produced by the block which did run:
194
+ or the value produced by the block that did run:
195
195
196
196
my $c = 0; say (1,
197
197
(if 0 { $c += 42; "two"; } else { $c += 43; 2; }),
You can’t perform that action at this time.
0 commit comments