in reply to Schrodinger's Variable

That sounds like unintended behavior of lexical closures, but you'll have to show the code to get a diagnosis.

The term '"package global" is usually reserved for a true global variable in the manespace's symbol table. Try your code without my, but with our or vars.pm and see if it makes a difference.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: Schrodinger's Variable
by Sprad (Hermit) on Jan 23, 2004 at 01:17 UTC
    Using "our" worked. I'm a bit troubled, though, because I still don't understand what's happening, and chances are that using our is just patching up an underlying problem...

    ---
    A fair fight is a sign of poor planning.