Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: hash reference to itselfby ExReg (Priest) |
on Aug 02, 2016 at 17:25 UTC ( [id://1169020]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|