Course of Raku / Advanced / Subroutines / Nested subroutines

Quiz — Nested scope

A subroutine inner is defined inside another subroutine outer. From where can inner be called?

1only from inside outer
0from anywhere in the program
0only from inside another subroutine
0only before outer is defined

Course navigation

Solution: An inner sum   |   Anonymous subroutines