in reply to Packages, scope, and lexical variables

Lexicals have file and block scope. Because they are not in the global symbol table, they are never identified with a namespace. Instead they live in a scratchpad which is created when a lexical scope is introduced.

Nothing prevents someone from adding functions to your namespace. That could be viewed as a feature ;-)

After Compline,
Zaxo

  • Comment on Re: Packages, scope, and lexical variables