devel/p5-Devel-Constants 1.04 FreeBSD
Perl module to translate constants back to their named symbols
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 10.4 KiB, 17.3 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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/p5-Devel-Constants | 1.04 newest | none known | - | [email protected] | - |
| DragonFly | devel/p5-Devel-Constants | 1.04 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Devel-Constants | 1.04 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Devel-Constants | 1.04 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Devel-Constants
From the ports tree:
cd /usr/ports/devel/p5-Devel-Constants/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Devel-Constants>0:devel/p5-Devel-Constants
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.04 | 1.04 | 1.04 | 1.04 | 1.04 |
| FreeBSD:14:quarterly | 1.04 | 1.04 | n/a | 1.04 | 1.04 |
| FreeBSD:15:latest | 1.04 | 1.04 | n/a | 1.04 | 1.04 |
| FreeBSD:15:quarterly | 1.04 | 1.04 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.04 | 1.04 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
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
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Devel/Constants.pm
- %%PERL5_MAN3%%/Devel::Constants.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Devel-Constants-1.04.tar.gz | 12886 | a4be73a3130296323de561ee3a11ba7e2c8b2ace988030b03923ab94b69c5496 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.