Forest::Tree::Constructor.3pm

Langue: en

Version: 2010-01-13 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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 2008-2010 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.