hash pmby toniax (Scribe)
|on Nov 30, 2010 at 00:08 UTC||Need Help??|
toniax has asked for the
wisdom of the Perl Monks concerning the following question:
I figured out a solution . I found this snippet of code on here and
used part of it for my purpose. What I did is create a file called
vars.pm with this code in it
I used it like this to test it in one of my scripts.
It works, but I am wondering if this is a good way to avoid using globals
I have 3 cgi scripts that need to share some data
Lets say I created a PM file with a hash in it.
How can I get the values from the hash in the PM file to the cgi script(s) as they require them