Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 surveying the Monastery: (4)
As of 2016-08-28 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (395 votes). Check out past polls.