Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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.


Comment on Re: Code for parsing an array of hashes
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2015-07-28 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls