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


Forest documentation  | view source Contained in the Forest distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    with qw(Forest::Tree::Constructor);

    sub tree_class { ... }

    sub foo {
        $self->create_new_subtree( ... )
    }

DESCRIPTION

Top

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

Top

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

Top

Yuval Kogman

COPYRIGHT AND LICENSE

Top


Forest documentation  | view source Contained in the Forest distribution.