Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Loop through hash structure

by PerlScholar (Acolyte)
on Sep 08, 2010 at 13:14 UTC ( [id://859309]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-24 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found