Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libenum-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libenum-perl  ]

套件: libenum-perl (1.11-1)

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

其他與 libenum-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libenum-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10.5 kB28 kB [文件列表]