Course of Raku / Advanced /
Debugging / Debugging with dd / Exercises
Dump a typed variable
Problem
Declare an integer-typed variable my Int $n = 42; and
dump it with dd. Notice how the output differs from an
untyped variable.
Example
The program prints (to standard error):
Int $n = 42Solution
Course navigation
← Solution: Dump the data structure | Solution: Dump a typed variable →