Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Recommended modules for Parent-Child trees?

by stvn (Monsignor)
on May 17, 2004 at 20:19 UTC ( [id://354094]=note: print w/replies, xml ) Need Help??


in reply to Recommended modules for Parent-Child trees?

Hero Zzyzzx,

As lachoy has already said, you can use Tree::Simple for this. Of course, I wrote it so I favor it heavily. As for a persistence layer, I have actually implemented several different ones for Tree::Simple over the years, only one of which has been packaged for on CPAN right now, it is called Tree::Parser. Tree::Parser is more appropriate for serializing Tree::Simple heirarchies to files, but could be made to use a DBI backend by writing a custom filter.

If you would like to tell me a little more about your application, I can possibly help you out by giving you some persistence code I have already written (if it is appropriate to your needs). At the very least, I might be able to point you in the right direction.

-stvn
  • Comment on Re: Recommended modules for Parent-Child trees?

Replies are listed 'Best First'.
Re: Re: Recommended modules for Parent-Child trees?
by lachoy (Parson) on May 18, 2004 at 16:01 UTC

    And you can use DBD::Mock to test it! :-) (Somewhat of an inside joke: stvn recently submitted some patches to DBD::Mock...)

    Chris
    M-x auto-bs-mode

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2024-04-23 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found