in reply to Add hash to hash

You can't place a hash in a hash, only scalars. References are scalars, so you can place a reference to a hash in a hash. That's what the second line does. Contrary to your claims, it does work.

perllol

Replies are listed 'Best First'.
Re^2: Add hash to hash
by rethaew (Sexton) on Oct 22, 2009 at 22:39 UTC
    thank you ikegami. Your explanation was what I thought, but I could not get it to work on paper. Upon further review of my code, I have other problems causing me to think this was the problem.