in reply to Re: when is "my" not necessary?
in thread when is "my" not necessary?

Lexical scopes can be created and destroyed by a lot of things

Out of interest, what else can destroy them?

Replies are listed 'Best First'.
Re^3: when is "my" not necessary?
by hardburn (Abbot) on Nov 02, 2004 at 21:00 UTC

    A package statement. The end of a string eval. Probably a bunch of other stuff I can't remember ATM.

    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

      In addition to blocks and string evals, files required or used create lexical scopes.

        Mostly I find that if I expect it to create a new lexical scope, it does.

        "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.