Course of Raku / Advanced / Containers / Special and dynamic variables 🆕 / Twigils

Quiz — Twigils

Which twigil marks a dynamic variable, looked up through the call stack?

1*
0?
0!
0.

The * twigil marks a dynamic variable, as in $*OUT or $*greeting. The ? twigil is for compile-time values, ! for a private attribute, and . for an attribute’s accessor.

Course navigation

Twigils   |   Dynamic variables