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 1122a88 commit 72d3a7bCopy full SHA for 72d3a7b
doc/Language/control.pod6
@@ -342,7 +342,7 @@ that case and C<Any> smart matches on C<True>: C<Any ~~ True> yields C<True>).
342
my $b = True;
343
when $a { say 'a' }; # no output
344
when so $a { say 'a' } # a (in "so $a" 'so' coerces $a to Boolean context True
345
- # which matches with Any)
+ # which matches with Any)
346
when $b { say 'b' }; # b (b is True as defined so matches with Any)
347
}
348
=end code
0 commit comments