Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Code for parsing an array of hashes

by Riales (Hermit)
on Apr 04, 2012 at 05:40 UTC ( #963367=note: print w/replies, xml ) Need Help??

in reply to Code for parsing an array of hashes

It's a little bit not as straightforward as it could be because you're using a HoH when an AoA is probably far more appropriate. This is because the sequence of elements in a HoH is pretty much arbitrary; things won't stay in the order of testcase1, testcase2 or step1, step2, step3, step4, step5. Then, you can just loop over your test cases and for each test case loop over each of its steps.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://963367]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2018-01-19 20:14 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (222 votes). Check out past polls.