1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Source: libenum-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep: perl
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libenum-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libenum-perl.git
Homepage: https://metacpan.org/release/enum
Rules-Requires-Root: no
Package: libenum-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends}
Multi-Arch: foreign
Description: perl module for sets of ordered constants like enums in C
The enum module defines a set of symbolic constants with ordered numeric
values ala C enum types.
.
It is now capable of creating ordered bitmask constants as well. See the
BITMASKS section in the documentation for details.
.
What are they good for? Typical uses would be for giving mnemonic names to
indexes of arrays. Such arrays might be a list of months, days, or a return
value index from a function such as localtime().
|