DOKK / manpages / debian 12 / libforest-perl / Forest::Tree::Constructor.3pm.en
Forest::Tree::Constructor(3pm) User Contributed Perl Documentation Forest::Tree::Constructor(3pm)

Forest::Tree::Constructor - An abstract role for tree factories

    with qw(Forest::Tree::Constructor);
    sub tree_class { ... }
    sub foo {
        $self->create_new_subtree( ... )
    }

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.

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.

Yuval Kogman

Copyright 2008-2014 Infinity Interactive, Inc.

<http://www.iinteractive.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-06-14 perl v5.34.0