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.
In reply to Re: Complex hash?
by imp
in thread Complex hash?
by tamaguchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |