in reply to Recursively search nested hash/array structures

I don't know of anything that will do this for you.

You might want to start with another piece of code that fully traverses a nested data structure, and then alter it to perform your specific behavior.

  • Comment on Re: Recursively search nested hash/array structures

Replies are listed 'Best First'.
Re^2: Recursively search nested hash/array structures
by mp (Deacon) on Dec 09, 2004 at 19:40 UTC
    Thanks for the quick response. Since you are the author of Data::DRef, I'll take your response to also mean that Data::Dref doesn't have anything that will do this. Initially I had thought that its 'index_by_drefs' sub might allow locating the keys easily, but after some experimentation with it, I can't get it to do that.

    The code you referenced in Clone::PP looks relatively straightforward, so I will start there, if no other leads turn up.