in reply to Re^2: static variable hack
in thread static variable hack

Creating the variable is my's compile-time effect. The my gets compiled whether it gets executed or not.

Replies are listed 'Best First'.
Re^4: static variable hack
by InfiniteLoop (Hermit) on Oct 29, 2007 at 20:22 UTC
    Apologies, thanks.
      Me too, that was rude of me. (Removed "This was mentioned in the thread I linked." from grandparent.)