blob: 80c28ee360cb0f3a60d8fd8ade4b7f0e0748adf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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/search?dist=Devel-Constants
-- Anton
|