Course of Raku / Advanced / Subroutines / More on MAIN subroutines

Quiz — MAIN usage

A program’s MAIN subroutine requires one positional argument. What happens if the program is run with no arguments at all?

0the body runs with an empty value
1Raku prints an automatically generated usage message
0the program waits for input
0nothing is printed

Course navigation

Solution: Add two arguments   |   Nested subroutines