./devel/p5-enum, Enumerations for Perl

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.110nb2, Package name: p5-enum-1.110nb2, Maintainer: pkgsrc-users

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);


Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 81d82e2aa89a341a67036ed0904f4749f2ee1525
RMD160: e47974c70ffc8b962699ab7babb29514ba79c639
Filesize: 7.698 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-01 10:06:38 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update p5-enum to 1.11:

1.11 2015-10-27 NEILB
    - Updated github repo URL after changing my github username
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2014-09-06 14:50:03 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update to 1.10:

1.10 2014-08-16 NEILB
    - Added min perl version (5.006) to enum.pm
    - Improved DESCRIPTION: reworded first paragraph to be a better summary,
      fixed formatting, and one typo.
   2014-08-01 13:26:21 by Hiramatsu Yoshifumi | Files touched by this commit (2) | Package updated
Log message:
Update devel/p5-num to 1.09.

PKGVERSION is set to 1.090 because it should be larger than 1.016.

Changes from previous:
----------------------
1.09 2014-05-26 NEILB
    - Added some more modules to the SEE ALSO section
    - Various documentation improvements
    - Added github repo to the pod

1.08 2014-05-06 NEILB
    - Changed how the constants are defined, to deal with a change in 5.19.3
      "Closures of the form "sub () { $some_variable }" are no longer
       inlined, causing changes to the variable to be ignored by callers of
       the subroutine. [perl #79908]"
      RT#95387 - thanks to Slaven Rezic.
    - Changed use of \d to [0-9]

1.07 2014-04-10 NEILB
    - Playing with Devel::Cover, starting to improve coverage of testsuite
    - Added testsuite for hex and octal index values, and _ in long numbers
    - Added testsuite for bitmask wrap-around cases

1.06 2014-01-25 NEILB
    - Specified MIN_PERL_VERSION as 5.006 in Makefile.PL
    - Changed the COPYRIGHT section to COPYRIGHT AND LICENSE
      so Kwalitee / CPANTS would see it.
    - Added 'warnings' to PREREQ_PM

1.05 2013-09-06 NEILB
    - I'd got two versions wrong when merging the history information
      from the pod into Changes. As a result the previous release was
      failing conformance with CPAN::Changes::Spec

1.04 2013-09-05 NEILB
    - Bumped version so I can release, now the offending CORBA-IDL
      release has been deleted from CPAN.

1.03 2013-09-02 NEILB
    - Added links to enumeration modules in SEE ALSO section.
    - Failed to index, due to clash with Enum module in CORBA-IDL

1.02 2013-09-01 NEILB
    - Added links to other modules and my review, in SEE ALSO
    - Failed to index, due to clash with PAUSE permissions for Enum module

1.016_01 2013-08-27 NEILB
    - Neil Bowers (NEILB) has taken over maintenance from Byron (thanks Byron!)
    - Reformatted this file (Changes) as per CPAN::Changes::Spec
    - Some of the revision history was in this file, some was in the pod;
      I think I've merged them correctly.
    - Added licence and repository metadata to Makefile.PL
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.