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 0189914 commit 291dc5cCopy full SHA for 291dc5c
doc/Language/control.pod6
@@ -421,7 +421,7 @@ my $a;
421
{
422
$a = do when .so { "foo" }
423
};
424
-dd $a; # OUTPUT: «Any $a = Any»
+say $a; # OUTPUT: «(Any)»
425
=end code
426
427
is explained since the C<do> block is abandoned before any value is stored or
@@ -432,7 +432,7 @@ my $a;
432
433
434
435
-dd $a; # OUTPUT: «Bool $a = Bool::False»
+say $a; # OUTPUT: «False»
436
437
the block is not abandoned since the comparison is false, so C<$a> will actually
438
get a value.
0 commit comments