Forest::Tree::Roles::MetaData3pm
A role mixin to support tree node metadata
Overview
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 :)
Attributes
- metadata
Methods
- fetch_metadata_for ($key)
-
This will first check locally, if it doesn't fund anything then will climb back to the root looking.
Copyright and license
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.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 4 times.