Course of Raku / Objects, I/O, and exceptions / Input and output / Running external programs 🆕 / The environment

Quiz — The environment

Which variable holds the program’s environment variables?

0@*ARGS
1%*ENV
0$*ENV
0%ENV

%*ENV is the dynamic hash of environment variables, read by name as %*ENV<HOME>. @*ARGS holds the command-line arguments instead.

Course navigation

The environment   |   Run a command