Problems? Is your data what you think it is? | |
PerlMonks |
Re: Iterating over hash to find specific key to sum up the costby LanX (Saint) |
on Oct 29, 2021 at 19:30 UTC ( [id://11138235]=note: print w/replies, xml ) | Need Help?? |
your indentation is misleading, the cost entries are at different levels. I was thinking of chaining 3 maps but thats not possible here. I recommend using Data::Diver or Data::Leaf::Walker or the alternative recursive solutions listed in threads mentioning these modules.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|