in reply to packages within the same file.

Unlike package variables, lexical ("my") variables are scoped to the end of the enclosing pair of curly brackets, or to the end of the file.