Enum

From Free Software Directory
Revision as of 03:54, 25 April 2018 by Bendikker (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


[edit]

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().





Licensing

License

Verified by

Verified on

Notes

License

Other

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

AudienceResource typeURI
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




Entry








"contact" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.


"Debian (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Perl (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Python (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Ruby (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.






Date 2015-07-17
Source Debian
Source link http://packages.debian.org/sid/libenum-perl

[[Category:]]



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.