Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Move data into AoH

by ww (Bishop)
on Sep 24, 2013 at 19:41 UTC ( #1055530=note: print w/ replies, xml ) Need Help??


in reply to Move data into AoH

Why an AoH? Why not a simple hash?

But to answer your question, yes, "there (is) a simple way...."

The how-to will be found at Data Type: Hash

Study there, and if you get stuck, come back with the code you've written, the error and warning messages, and any narrative explication that you wish.


Comment on Re: Move data into AoH
Re^2: Move data into AoH
by vitoco (Friar) on Sep 24, 2013 at 19:49 UTC

    Why an AoH? Why not a simple hash?

    Because it is an array... I edited the OP ;-)

Re^2: Move data into AoH
by vitoco (Friar) on Sep 24, 2013 at 20:36 UTC

    BTW, I edited only the numbered sequence of values from the example... the [] and {} remained the same.

    Also, some of the fields may or may not be present in a record.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-09-18 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (124 votes), past polls