I am wanting to beable to share certain global variables between the interface and the various scripts...
I think you'll need to clarify what you mean by that?
Is it your intention that these will be separate scripts invoked through system, backticks or similar means?
If so, passing the value in via the command line involation would work. Or you could set them into %ENV prior to the invokation and they will be available in the called scripts %ENV.
Return values from invoked scripts could be retrieved using backticks.
There are several other interpretations of you question ranging from invoking the "scripts" via do, where they would have automatic access to any existing global data within the calling script, to writing your sub-scripts as proper modules.
Your clarification will probably elicit better answers.
In reply to Re: Method for sharing variables
by BrowserUk
in thread Method for sharing variables
by diggernz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |