Subroutine names are package variables and therefore not "globally scoped". Only certain Perl variables fit the definition of "globally scoped".
the sub level1 is defined within an explicit scope, not within a code block.
In reply to Re^3: Defining a sub within a sub: OK?
by jwkrahn
in thread Defining a sub within a sub: OK?
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |