We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a096df commit 47091a7Copy full SHA for 47091a7
doc/Language/control.pod
@@ -141,8 +141,8 @@ conditionally. Do note that the condition is still always evaluated first:
141
142
The statement modifier form is probably best used sparingly.
143
144
-The C<if> statement itself will either return an empty list, if it does not
145
-run the block, or it will return the value which the block produces:
+The C<if> statement itself will either L<slip|/type/Slip> us an empty list, if
+it does not run the block, or it will return the value which the block produces:
146
147
my $c = 0; say (1, (if 1 { $c += 42; 2; }), 3, $c); # says "1 2 3 42"
148
my $d = 0; say (1, (if 0 { $d += 42; 2; }), 3, $d); # says "1 3 0"
0 commit comments