Data::Hierarchy

Handle data in a hierarchical structure
Download

Data::Hierarchy Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Chia-liang Kao
  • Publisher web site:
  • http://search.cpan.org/~clkao/

Data::Hierarchy Tags


Data::Hierarchy Description

Handle data in a hierarchical structure Data::Hierarchy is a Perl module to handle data in a hierarchical structure.SYNOPSIS my $tree = Data::Hierarchy->new(); $tree->store ('/', {access => 'all'}); $tree->store ('/private', {access => 'auth', '.note' => 'this is private}); $info = $tree->get ('/private/somewhere/deep'); # return actual data points in list context ($info, @fromwhere) = $tree->get ('/private/somewhere/deep'); my @items = $tree->find ('/', {access => qr/.*/}); # override all children $tree->store ('/', {'.note' => undef}, {override_sticky_descendents => 1});Data::Hierarchy provides a simple interface for manipulating inheritable data attached to a hierarchical environment (like a filesystem).One use of Data::Hierarchy is to allow an application to annotate paths in a real filesystem in a single compact data structure. However, the hierarchy does not actually need to correspond to an actual filesystem. Requirements: · Perl


Data::Hierarchy Related Software