Skip to content

Commit ce45cde

Browse files
committed
Grammar fix
1 parent 32ab73c commit ce45cde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/control.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ parenthesize a statement if it is the last thing in an expression:
8686
8787
=head2 X<if|control flow>
8888
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.
9090
The condition, an expression, will be evaluated immediately after the
9191
statement before the C<if> finishes. The block attached to the condition will
9292
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
191191
else { say "yes" } ; # -> says "yes"
192192
193193
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:
195195
196196
my $c = 0; say (1,
197197
(if 0 { $c += 42; "two"; } else { $c += 43; 2; }),

0 commit comments

Comments
 (0)