in reply to Re: two hashes occupying the same space
in thread two hashes occupying the same space
I think the OP is trying to have $value1 only once in memory, and $value2 only once in memory, in order to reduce memory usage. Sharing the same hash doesn't reduce memory usage, and constructing it in that manner is not very memory efficient.