BSD Ports

devel/p5-Sort-Tree 1.09_1 DragonFly

Perl module for sorting a objects into a tree structure

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, perl5
Package size
9.0 KiB, 16.4 KiB installed

Description

Sort::Tree implements a mechanism for sorting a list of objects into a tree structure and flattening it back into a list. Among other things, this is useful for displaying database queries in hierarchical views, such as nested categories, parent-child relationships, threaded discussions, and so forth.

Trees have a lot to do with Graph theory, so if this module doesn't suit your fancy, have a look at the Graph:: Perl modules for an academically oriented implementation that employs vertex, edge, and node operations.

For more information on how to use the perl module, see the pod documentation via the command perldoc Sort::Tree or, after installation, view the man pages with man Sort::Tree

In the other systems

SystemPortVersion
DragonFlydevel/p5-Sort-Tree1.09_1
FreeBSDdevel/p5-Sort-Tree1.09_1

Install

Binary package:

pkg install p5-Sort-Tree

From DPorts:

cd /usr/dports/devel/p5-Sort-Tree && make install clean

Dependencies

Run dependencies 1

No port depends on this one.