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

Hi Corion, had a look at those 2 documents and tried a few things but still no breakthrough. I can only seem to access the array values when I include the index as above. Is there any simple way of looping through or am I using a poor structure or something? Thanks!

Replies are listed 'Best First'.
Re^5: Loop through hash structure
by Corion (Patriarch) on Sep 08, 2010 at 13:22 UTC

    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.