note
AnomalousMonk
<blockquote><i>
Isn't $globalVar (when not defined as a lexical variable) just a shortcut for the (main) package variable $::globalVar aka $main::globalVar?
</I></BLOCKQUOTE>
<p>
It is a 'shortcut' only if you make the lexical declaration <br>
<c> our $globalVar;</c> <br>
Then if the first access of the package variable <c> $globalVar </C> is <i>after</I> the declaration, everybody's happy; otherwise, the variable name must be fully qualified. See [doc://our].
</P>
1074633
1074669