Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Move data into AoH

by ww (Archbishop)
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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055530]
[Corion]: Oh - jwz gives us interesting insight in cloud hosting. I'm amazed how many people suggest he rework his setup into AWS, even though that brings a lot of rearchitecting just to make it wo
[Corion]: ... work
[erix]: interesting...
erix especially likes the "alot is not a word" muttering

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-06-24 07:14 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (557 votes). Check out past polls.