Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> perl >> libenum-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: libenum-perl  ]

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

Andere Pakete mit Bezug zu libenum-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libenum-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 10,5 kB28 kB [Liste der Dateien]