Skip to content

Commit 0a0d846

Browse files
committed
run test, show output
1 parent 9ea4a12 commit 0a0d846

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/Type/PseudoStash.pod6

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ back a C<Stash>. Neither of these are objects the user is expected to
1313
create by themselves, but in case you have one, you can just use it like a
1414
hash.
1515
16-
=for code :skip-test
16+
=for code
1717
my $a = 42;
1818
my $b = q/$a/;
19-
dd MY::{$b}
19+
say MY::{$b};
20+
#OUTPUT: «42␤»
2021
2122
This shows how you can use a C<PseudoStash> to look up variables, by name,
2223
at runtime.

0 commit comments

Comments
 (0)