• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Sort/H06-May-2004-475136

t/H06-May-2004-1912

ChangeLogH A D06-May-20041,003 3523

INSTALLH A D09-Sep-20031,019 4329

MANIFESTH A D06-May-2004151 98

META.ymlH A D06-May-2004302 119

Makefile.PLH A D06-May-2004317 1510

READMEH A D06-May-20041.4 KiB3526

README

1
2Sort::Tree implements a mechanism for sorting a list of objects into a
3tree structure and flattening it back into a list.  Among other things,
4this is useful for displaying database queries in hierarchical views,
5such as nested categories, parent-child relationships, threaded
6discussions, and so forth.
7
8The motivation for writing this was that I needed to implement
9hierarchically organized folders in a document management system at the
10Open Source Development Labs and didn't see something like this already
11in CPAN or mentioned in the "Mastering Algorithms with Perl" book, which
12was a bit surprising given how often one needs to display data in a
13hierarchical fashion.
14
15Trees have a lot to do with Graph theory, so if this module doesn't suit
16your fancy, have a look at the Graph:: Perl modules for an academically
17oriented implementation that employs vertex, edge, and node operations.
18
19For more information on how to use the perl module, see the
20pod documentation via the command
21  perldoc Sort::Tree
22or, after installation, view the man pages with
23  man Sort::Tree
24
25For instructions on how to install the code, see the file INSTALL.
26
27Problems, questions, etc. may be sent to bryce@bryceharrington.com
28or bryceharrington@yahoo.com.
29
30Sort-Tree is Copyright (c) 2003, by Bryce Harrington.
31All rights reserved. You may distribute this code under the terms
32of either the GNU General Public License or the Artistic License,
33as specified in the Perl README file.
34
35