Hopefully this will be the last time I ask(!).1) Is there a way to call $tree->resolve() so that the newly created nodes are unnamed? The default seems to be to give them names like r1, r2, r3, etc.
2) $tree->remove_unbranched_internals() doesn't seem to remove the base node if it is unbranched, so ((A,B)C)D; is not simplified to (A,B)C; (or should that be (A,B)D;? )
... you install the latest development version from http://github.com/rvosa/bio-phylo,