Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2016-12-04 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (65 votes). Check out past polls.