Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Loop through hash structure

by Corion (Patriarch)
on Sep 07, 2010 at 13:21 UTC ( [id://859161]=note: print w/replies, xml ) Need Help??


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

See References Quick Reference, and maybe perlreftut.

Replies are listed 'Best First'.
Re^4: Loop through hash structure
by PerlScholar (Acolyte) on Sep 08, 2010 at 13:14 UTC
    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!

      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://859161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-28 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found