套件: libenum-perl (1.11-1)
libenum-perl 的相關超連結
Trisquel 的資源:
下載原始碼套件 libenum-perl:
維護者:
Original Maintainers:
- Debian Perl Group (郵件存檔)
- gregor herrmann
外部的資源:
- 主頁 [metacpan.org]
相似套件:
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().