Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 wandering the Monastery: (9)
As of 2016-05-05 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?