Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: pushing multiple key-value pairs into an existing hash

by lomSpace (Scribe)
on Feb 11, 2013 at 18:22 UTC ( #1018210=note: print w/ replies, xml ) Need Help??


in reply to Re^3: pushing multiple key-value pairs into an existing hash
in thread pushing multiple key-value pairs into an existing hash

I went ahead and used the map function. Did you have something else in mind?


Comment on Re^4: pushing multiple key-value pairs into an existing hash
Re^5: pushing multiple key-value pairs into an existing hash
by 7stud (Deacon) on Feb 11, 2013 at 18:35 UTC

    Did map produce the results you want? If so, post your code, then someone can tell you if there is a better way.

    By the way, map adds the key/value pairs one by one--just like a while loop.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2015-07-06 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls