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

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.

  • Comment on Re^5: pushing multiple key-value pairs into an existing hash