|Problems? Is your data what you think it is?|
I've create a simple hash reference with the following data:
I need to look though the weapons "list". I would also like to sum by cost, damage and armor in calculations.
I was hoping there would be an easy was to sum the weapons cost for example. I was thinking I could do this with a postfix operation, but my general confusion with a hash of a hashes keeps getting in the way. Any wisdom would be appreciated!
If you have general information for learning how to manipulate array of hashes and hash of hashes in general, that would be appreciated as well. I really would like to really understand this better!