http://qs321.pair.com?node_id=1228622


in reply to Re: Reading a hash structure stored in a file
in thread Reading a hash structure stored in a file

So add "my %hash1;" either to your script, or the evaled file.

Unfortunately that won't help in this case, since the file being evaled contains a my %hash1 declaration that'll mask a %hash1 declared in the main code.