in reply to hash reference to itself

What problem are you trying to solve here?

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Replies are listed 'Best First'.
Re^2: hash reference to itself
by ExReg (Priest) on Aug 02, 2016 at 17:25 UTC

    I have a rather large hash that has a somewhat similar structure. There are many keys containing subs that use another key to print messages. I wanted to bring those keys up a level ( the name key was inside the code sub) and another piece of code wanted to see the name value. Hence I wanted to bring the name up where it was visible to others. Anonymous Monk hit the nail on the head.