NAME
Forest::Tree::Constructor - An abstract role for tree factories
SYNOPSIS
with qw(Forest::Tree::Constructor);
sub tree_class { ... }
sub foo {
$self->create_new_subtree( ... )
}
DESCRIPTION
This role provides the create_new_subtree
method as required by Forest::Tree::Builder and Forest::Tree::Loader/Forest::Tree::Reader.
See Forest::Tree::Builder for the reccomended usage.
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
AUTHOR
Yuval Kogman
COPYRIGHT AND LICENSE
Copyright 2008-2014 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.