1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/devel/p5-Devel-Constants/pkg-descr
Bill Fenner 81797980f7 search.cpan.org redirect reduction canonicalization project, pass 1:
URLs automatically rewritten from /search?dist=Foo or /dist/Foo
to /dist/Foo/ (note trailing slash).  After a 2002(!) reorganization,
this is the preferred way to refer to modules on search.cpan.org.

This pass brought to you by http://people.freebsd.org/~fenner/fix-search
2005-09-21 19:31:43 +00:00

15 lines
529 B
Plaintext

Declaring constants is very convenient for writing programs, but as
they're often inlined by Perl, retrieving their symbolic names can be
tricky. This is made worse with lowlevel modules that use constants for
bit-twiddling.
Devel::Constants makes this much more manageable.
It silently wraps around the constant module, intercepting all constant
declarations. It builds a hash, associating the values to their names.
The names can then be retrieved as necessary.
WWW: http://search.cpan.org/dist/Devel-Constants/
-- Anton