libenum-perl

perl module for sets of ordered constants like enums in C

Description

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

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/enum


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libenum-perl

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more