No such thing as a small change | |
PerlMonks |
Re: how to construct tree from parent pointer listby ikegami (Patriarch) |
on Mar 21, 2006 at 22:40 UTC ( [id://538333]=note: print w/replies, xml ) | Need Help?? |
Getting you started with the previously mentioned Tree module: If you are only expecting one root, replace the bottom loop with:
I didn't check for circular dependancies.
In Section
Seekers of Perl Wisdom
|
|