in reply to Complex hash?
If this is for debugging then Data::Dumper or one of its variants are good.
Otherwise you could try Data::Walk, which lets you walk over the nodes of a complex structure.
Update - Actually I don't see a way to obtain the current key/index using Data::Walk, so this is probably not an appropriate solution for you.
|
|---|