-
-
13 May 2013 21:40:20 UTC
- Distribution: MooseX-Tree
- Module version: 0.001
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (378 / 1 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (13.11KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
MooseX::Tree - Moose Role to provide simple hierarchical tree functionality to objects
VERSION
version 0.001
SYNOPSIS
package My::Node; use Moose; with 'MooseX::Tree'; ... then: ... my $node = My::Node->new(); my $parent = $node->parent; my @children = $node->children; my @ancestors = $node->ancestors; my @descendants = $node->descendants;
DESCRIPTION
Under development.
Moose Role to provide simple tree functionality.
METHODS
Note: method names can be overridden by providing parameters when consuming this role.
parent
children
ancestors
descendants
TODO
Document and test role parameters (to set attribute/method names)
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at https://github.com/mjemmeson/moosex-tree/issues. You will be notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/mjemmeson/moosex-tree
git clone git://github.com/mjemmeson/moosex-tree.git
AUTHOR
Michael Jemmeson <mjemmeson@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Michael Jemmeson <mjemmeson@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install MooseX::Tree, copy and paste the appropriate command in to your terminal.
cpanm MooseX::Tree
perl -MCPAN -e shell install MooseX::Tree
For more information on module installation, please visit the detailed CPAN module installation guide.