Data::NestedSet

Calculate left - right values from depth (modified preorder tree traversal algorithm)
Download

Data::NestedSet Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Shirirules
  • Publisher web site:
  • http://search.cpan.org/~shiriru/

Data::NestedSet Tags


Data::NestedSet Description

Calculate left - right values from depth (modified preorder tree traversal algorithm) Based on the depth, the Data::NestedSet module allows you to get the left and right values for a modified preorder tree.SYNOPSIS use Data::NestedSet; ##let's pretend that you get that from a spreadsheet... my $data = , , , , , , , #go on.... ]; my $nodes = new Data::NestedSet($data,2)->create_nodes(); #now $nodes contains : #, # , # , # , # , # , # , #]; Requirements: · Perl


Data::NestedSet Related Software