Quote
I want to open the file and read the info into another hash. I have to be able to use some other method than using 'require' or 'use'. Any ideas?
Unquote
Given the request, I don't see how 'require'-ing the hash is really an option. While I don't know why these constraints exist, I always like to recognize them in my reponses.
As far as storing a hash in a file in perl syntax form, only to be require'd later: why? What possible advantage could storing a hash in perl syntax possibly give? It certainly complies with laziness and impatience, but hubris? For the same reasons Mike pointed out, I wouldn't store the data as a 'syntax hash'.
I'm going to bed. Night.
--Jim