in reply to Re^3: Tree::Nary -- my program is creating phantom nodes
in thread Tree::Nary -- my program is creating phantom nodes

Thanks Tilly -- the $child_type variable works perfectly. My recurse_tree() function is no longer making "phantom nodes" in my N-ary tree.

Due to time pressures I will need to retain Tree::Nary. I am finding that creating and accessing even large N-ary trees is being done in a reasonable time, despite the inefficiencies you pointed out in Tree::Nary.

Thank You,
Amphiaraus
  • Comment on Re^4: Tree::Nary -- my program is creating phantom nodes