This software provides a swift implementation of a tree using pure Perl programming language.
If you need to remove child nodes, the 'remove_child' method makes it easy. When you're ready to traverse the tree, you can do so in either pre-order or post-order using the 'traverse' method. We've provided a simple example of a post-order traversal that returns nodes one at a time.
For more convenience methods and error-checking, you may want to try the Tree wrapper around Tree::Fast instead. But if pure speed is your top priority, Tree::Fast won't disappoint. Give it a try and see for yourself.
Version 1.01: N/A