pkgsrc/devel/p5-enum/distinfo
rillig 6993063e19 Imported p5-enum.
Defines a set of symbolic constants with ordered numeric values ala C
enum types.

Now capable of creating creating ordered bitmask constants as well. See
the BITMASKS section 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():

use enum qw(:Months_=0 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
2007-01-25 03:08:19 +00:00

5 lines
238 B
Text

$NetBSD: distinfo,v 1.1.1.1 2007/01/25 03:08:19 rillig Exp $
SHA1 (enum-1.016.tar.gz) = d1600b60561efdb6f7f01f690e4ad179958598e5
RMD160 (enum-1.016.tar.gz) = 40e93461960fe2c94a35d4bbb59e567bc7835509
Size (enum-1.016.tar.gz) = 5847 bytes