in reply to Accessing variables in an external hash without eval
I think in reality you have a my in front of the %hash, probably inside a block.
You should show us the real code. And please try to isolate the problem step by step.
On a side note, you can use "do filepath" instead of all the reading and eval stuff.
|
---|
In Section
Seekers of Perl Wisdom