Enum
Enum
https://metacpan.org/release/enum
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().
Download
http://ftp.debian.org/debian/pool/main/libe/libenum-perl/libenum-perl_1.10.orig.tar.gz
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: Salvatore Bonaccorso <carnil@debian.org>
Verified on
14 September 2014
Notes
License: artistic or gpl-1+
Leaders and contributors
Contact(s) | Role |
---|---|
Neil Bowers | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Ruby (Ref) | https://rubygems.org/gems/enum | |
Debian (Ref) (R) | https://tracker.debian.org/pkg/libenum-perl | |
Perl (Ref) | https://metacpan.org/release/enum | |
Python (Ref) | https://pypi.org/project/enum | |
Debian (Ref) | https://tracker.debian.org/pkg/enum |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.