Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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

Replies are listed 'Best First'.
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 examining the Monastery: (4)
As of 2016-08-30 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (414 votes). Check out past polls.