|XP is just a number|
Using Exporter with a complex hashby glemley8 (Acolyte)
|on Oct 23, 2012 at 19:58 UTC||Need Help??|
glemley8 has asked for the
wisdom of the Perl Monks concerning the following question:
I'm using a pretty complex hash table that needs to be in a central place, while a few scripts refer to it. Here is an example of the structure:
"STATIONx" is determined by user input when executing the initial script. The scripts ratchet through each parameter and their parallel array values (value/param 0, 1, 2, etc.).
By using Exporter and placing the hash table in a module (method posted here http://stackoverflow.com/a/1551088), I was able to grab the "code" key, but could not figure out the syntax to grab param/range x. Can anyone lead me in the right direction?
Let me know if you need further info about the goals of this script (and please be easy; I'm learning).