FreeBSD.software
Home/devel/p5-Devel-Constants

p5-Devel-Constants

1.04devel

Perl module to translate constants back to their named symbols

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 low level 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.

$pkg install p5-Devel-Constants
metacpan.org/release/Devel-Constants
Origin
devel/p5-Devel-Constants
Size
17.3KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)