I have a file with a hash in it and I wish to make the hash a global
variable in a perl script. I can eval it or require it, but the variable
doesn't seem to stay in the namespace. For example:
require "config-file";
print $hash{key}; # Defined in config-file
Prints nothing.
--
Mike MacHenry
- Re: [Boston.pm] evaling a while file [EMAIL PROTECTED]
- Re: [Boston.pm] evaling a while file Andrew M. Langmead
- Re: [Boston.pm] evaling a while file Joe Johnston
