Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Converting array of hash references to hash

by rpnoble419 (Pilgrim)
on Apr 22, 2013 at 16:54 UTC ( #1029926=note: print w/replies, xml ) Need Help??

in reply to Converting array of hash references to hash

Why do the conversion in the first place. If the data is consistent, write your program to loop through the array. It might be helpful to look at this tread Map Vs Foreach. I'm not against using map, but if the list is very long you may run into other problems.


you may want to check out this module to see if does what you want Hash-MostUtils

  • Comment on Re: Converting array of hash references to hash

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-10-21 22:19 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.