in reply to Re^4: Loop through hash structure
in thread Loop through hash structure

How would you do it if you had a plain hash or array?

If you take your code to do it with a plain hash, look at References Quick Reference or perlreftut to see how to modify code that works for a plain hash so it works with a reference.