| 1 |
Source: libtree-simple-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Niko Tyni <[email protected]>, |
| 4 |
gregor herrmann <[email protected]>, |
| 5 |
Damyan Ivanov <[email protected]> |
| 6 |
Section: perl |
| 7 |
Testsuite: autopkgtest-pkg-perl |
| 8 |
Priority: optional |
| 9 |
Build-Depends: debhelper-compat (= 13) |
| 10 |
Build-Depends-Indep: libtest-exception-perl <!nocheck>, |
| 11 |
libtest-memory-cycle-perl <!nocheck>, |
| 12 |
libtest-simple-perl <!nocheck>, |
| 13 |
perl |
| 14 |
Standards-Version: 4.5.1 |
| 15 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtree-simple-perl |
| 16 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtree-simple-perl.git |
| 17 |
Homepage: https://metacpan.org/release/Tree-Simple |
| 18 |
Rules-Requires-Root: no |
| 19 |
|
| 20 |
Package: libtree-simple-perl |
| 21 |
Architecture: all |
| 22 |
Depends: ${misc:Depends}, |
| 23 |
${perl:Depends} |
| 24 |
Multi-Arch: foreign |
| 25 |
Description: implementation of a simple tree object |
| 26 |
Tree::Simple is a fully object-oriented implementation of a simple |
| 27 |
n-ary tree. It is built upon the concept of parent-child |
| 28 |
relationships, so therefore every Tree::Simple object has both a |
| 29 |
parent and a set of children (who themselves may have children, and so |
| 30 |
on). Every Tree::Simple object also has siblings, as they are just the |
| 31 |
children of their immediate parent. |
| 32 |
. |
| 33 |
It can be used to model hierarchal information such as a file-system, |
| 34 |
the organizational structure of a company, an object inheritance |
| 35 |
hierarchy, versioned files from a version control system or even an |
| 36 |
abstract syntax tree for use in a parser. It makes no assumptions as |
| 37 |
to your intended usage, but instead simply provides the structure and |
| 38 |
means of accessing and traversing said structure. |
| 39 |
. |
| 40 |
This module uses exceptions and a minimal Design By Contract |
| 41 |
style. All method arguments are required unless specified in the |
| 42 |
documentation, if a required argument is not defined an exception will |
| 43 |
usually be thrown. Many arguments are also required to be of a |
| 44 |
specific type, for instance the $parent argument to the constructor |
| 45 |
must be a Tree::Simple object or an object derived from Tree::Simple, |
| 46 |
otherwise an exception is thrown. |