in reply to Re^2: Using an element in a Hash of Arrays to access the key
in thread Using an element in a Hash of Arrays to access the key

Could you clarify how to set the values I have in my array ("banana", "pear", "apple") into "fruit" using map?

I updated my node just after you posted this, if I understand your question correctly, my final example (hash of arrays) should answer this, I hope?

  • Comment on Re^3: Using an element in a Hash of Arrays to access the key