Main > Programming > Libraries >

Tree::Numbered 2.02

Tree::Numbered 2.02

Sponsored Links

Tree::Numbered 2.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
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.

Tree::Numbered 2.02 Screenshot

Advertisements

Tree::Numbered 2.02 Keywords

Bookmark Tree::Numbered 2.02

Hyperlink code:
Link for forum:

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

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
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