Tree::Numbered 2.02
Sponsored Links
Tree::Numbered 2.02 Ranking & Summary
File size:
0.026 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1233
Date added:
2006-06-12
Publisher:
Yosef Meller
Tree::Numbered 2.02 description
Tree::Numbered is a thin N-ary tree structure with a unique number for each item.
SYNOPSYS
use Tree::Numbered;
my $tree = Tree::Numbered->new(John Doe);
$tree->append(John Doe Jr.);
$tree->append(Marry-Jane Doe);
while (my $branch = $tree->nextNode) {
$branch->delete if ($branch->getValue eq Stuff I dont want);
}
my $itemId = what_the_DB_says;
print join --- , $tree->follow($itemId); # a list of items up to itemId.
$tree->allProcess( sub {
my $self = shift;
$self->getValue =~ /^(S*)/;
$self->addField(FirstName, $1);
} );
etc.
Tree::Numbered is a special N-ary tree with a number for each node. This is useful on many occasions. The first use I found for that (and wrote this for) was to store information about the selected item as a number instead of storing the whole value which is space-expensive.
Every tree also has a lucky number of his own that distinguishes it from other trees created by the same module. This module is thin on purpose and is meant to be a base class for stuff that can make use of this behaveiour. For example, I wrote Tree::Numbered::DB which ties a tree to a table in a database, and Javascript::Menu which uses this tree to build menus for websites.
One more feature that the module implements for the ease of subclassing it is an API for adding and removing fields from trees and nodes.
SYNOPSYS
use Tree::Numbered;
my $tree = Tree::Numbered->new(John Doe);
$tree->append(John Doe Jr.);
$tree->append(Marry-Jane Doe);
while (my $branch = $tree->nextNode) {
$branch->delete if ($branch->getValue eq Stuff I dont want);
}
my $itemId = what_the_DB_says;
print join --- , $tree->follow($itemId); # a list of items up to itemId.
$tree->allProcess( sub {
my $self = shift;
$self->getValue =~ /^(S*)/;
$self->addField(FirstName, $1);
} );
etc.
Tree::Numbered is a special N-ary tree with a number for each node. This is useful on many occasions. The first use I found for that (and wrote this for) was to store information about the selected item as a number instead of storing the whole value which is space-expensive.
Every tree also has a lucky number of his own that distinguishes it from other trees created by the same module. This module is thin on purpose and is meant to be a base class for stuff that can make use of this behaveiour. For example, I wrote Tree::Numbered::DB which ties a tree to a table in a database, and Javascript::Menu which uses this tree to build menus for websites.
One more feature that the module implements for the ease of subclassing it is an API for adding and removing fields from trees and nodes.
Tree::Numbered 2.02 Screenshot
Tree::Numbered 2.02 Keywords
Numbered 2.02
N-ary tree
unique number
Tree Structure
each item
tree
number
N-ary
item
thin
unique
Tree::Numbered
TreeNumbered
Tree::Numbered 2.02
Libraries
Programming
Bookmark Tree::Numbered 2.02
Tree::Numbered 2.02 Copyright
WareSeeker periodically updates pricing and software information of Tree::Numbered 2.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Tree::Numbered 2.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Rover provides a means of executing commands on remote machines via SSH, Telnet, or Rlogin. Free Download
AlefMentor is a Learning Management System. Free Download
Tree::Binary is a Object Oriented Binary Tree for Perl. Free Download
I18NFolder is a product allow you to create multilingual folders. Free Download
Award winning personl.database/PIM, text editor, advanced search, small+powerful Free Download
Tree::Visualize is a Perl module for visualizing Tree structures. Free Download
XHTML Family Tree Generator is a CGI Perl script that will create views of a family tree from a supplied data file. Free Download
Tree::Binary::Search is a binary search tree for Perl. Free Download
Latest Software
- Linux (ReiserFS) Data Recovery by Unistal 12.4
- Linux (Ext2 Ext3) Data Recovery by Unistal 10.12
- Quick Recovery for Linux - A Data Recovery Product 10.12
- VRbrochure Professional Suite 1.4
- Quick Recovery for Linux (ReiserFS) - A Data Recovery Software 12.4
- Quick Recovery for Linux - A Data Recovery Software 10.12
- gjots 2.3.7
- Math::Expr 0.2
Popular Software
Favourite Software