Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Adding to hash that contains an array of arrays

by FloydATC (Chaplain)
on Jan 30, 2014 at 12:39 UTC ( #1072663=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Adding to hash that contains an array of arrays
in thread Adding to hash that contains an array of arrays

Where you get the data from is irrelevant, the "push" demonstrated by both moritz and mewsham manipulates your data structure in exactly the way you're asking for.

It adds an array reference (what an array of arrays really contains) to the array in your hash.

-- FloydATC

Time flies when you don't know what you're doing


Comment on Re^3: Adding to hash that contains an array of arrays

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-08-31 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (354 votes), past polls