Course of Raku / Advanced / Containers / Introspecting containers / Exercises
Describe a variable
Problem
You are given a typed variable:
my Str $lang = 'Raku';Print three facts about it, each on its own line:
- the type of its value;
- the type of its container;
- its name, including the sigil.
Example
The program prints:
Str
Scalar
$lang