Traversing a multi-dimensional hash in Perl

后端 未结 8 1957
后悔当初
后悔当初 2021-01-03 04:02

If you have a hash (or reference to a hash) in perl with many dimensions and you want to iterate across all values, what\'s the best way to do it. In other words, if we hav

8条回答
  •  天涯浪人
    2021-01-03 04:20

    This sounds to me as if Data::Diver or Data::Visitor are good approaches for you.

提交回复
热议问题