There's more than one way to do things | |
PerlMonks |
Re: recursive complex structure or something like that?by Zaxo (Archbishop) |
on Jul 26, 2003 at 02:19 UTC ( [id://278029]=note: print w/replies, xml ) | Need Help?? |
Graph is great for this kind of thing. Use the id numbers to name nodes, the string as an attribute, and the parent number to form an edge. With Graph.pm, you don't need to worry about memory leaks due to circular parentage. After Compline,
In Section
Seekers of Perl Wisdom
|
|