use vars and my are simplest. Another option that might be better in some situations (or worse in others) is to use a lexical (my) variable, and have functions that get/set/return a reference to it.
------------
:Wq
Not an editor command: Wq
Comment on Re: Re: storing data in a package/module