Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Recursively search nested hash/array structures

by simonm (Vicar)
on Dec 09, 2004 at 19:24 UTC ( [id://413663]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://413663]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found