logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Forest::Tree::Roles::MetaData - A role mixin to support tree node metadata

Attributes

metadata

Author

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.

Description

       This role mixin adds support for each tree node to have arbitrary metadata stored in a HASHref. The
       metadata is inherited in the tree as well, so a child will inherit the parents metadata.

       This is really useful, at least for me it is :)

Methods

fetch_metadata_for($key)
           This will first check locally, if it doesn't fund anything then will climb back to the root looking.

Name

       Forest::Tree::Roles::MetaData - A role mixin to support tree node metadata

See Also