Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.

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?
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 pondering the Monastery: (5)
As of 2016-07-27 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.