@@ -40,7 +40,7 @@ executed.
40
40
Unless it stands alone as a statement, a block simply creates a closure. The
41
41
statements inside are not executed immediately. Closures are another topic
42
42
and how they are used is explained
43
- L < elsewhere|/language/functions#Blocks and Lambdas > . For now it is just
43
+ L < elsewhere|/language/functions#Blocks_and_Lambdas > . For now it is just
44
44
important to understand when blocks run and when they do not:
45
45
46
46
say "We get here"; { say "then here." }; { say "not here"; 0; } or die;
@@ -240,7 +240,7 @@ present:
240
240
When you get sick of typing "if not (X)" you may use C < unless > to invert
241
241
the sense of a conditional statement. You cannot use C < else > or C < elsif >
242
242
with C < unless > because that ends up getting confusing. Other than those
243
- two differences C < unless > works the same as L < if > :
243
+ two differences C < unless > works the same as L < # if> :
244
244
245
245
unless 1 { "1 is false".say } ; # does not say anything, since 1 is true
246
246
unless 1 "1 is false".say ; # syntax error, missing block
@@ -302,7 +302,7 @@ for @foo { 42.print } # prints 42 as many times as @foo has elements
302
302
303
303
= end code
304
304
305
- Pointy block syntax or a L < placeholder|/language/variables#The C < ^ > Twigil >
305
+ Pointy block syntax or a L < placeholder|/language/variables#The_^_Twigil >
306
306
may be used to name the parameter, of course.
307
307
308
308
= begin code
0 commit comments