BSD Ports

devel/p5-Devel-Constants 1.04 DragonFly

Perl module to translate constants back to their named symbols

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
9.9 KiB, 17.5 KiB installed

Description

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.

In the other systems

The newest version among them is 1.04, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Devel-Constants1.04 newestnone known-[email protected]-
FreeBSDdevel/p5-Devel-Constants1.04 newestnone known-[email protected]-
HardenedBSDdevel/p5-Devel-Constants1.04 newestno data-[email protected]-
GhostBSDdevel/p5-Devel-Constants1.04 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Devel-Constants

From DPorts:

cd /usr/dports/devel/p5-Devel-Constants && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.