devel/p5-Const-Fast 0.014_2 DragonFly
Facility for creating read-only scalars, arrays, and hashes
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 8.5 KiB, 14.2 KiB installed
Description
This module was written because I stumbled on some serious issues of Readonly that aren't easily fixable without breaking backwards compatibility in subtle ways. In particular Readonly's use of ties is a source of subtle bugs and bad performance. Instead, this module uses the builtin readonly feature of perl, making access to the variables just as fast as any normal variable without the weird side-effects of ties. Readonly can do the same for scalars when Readonly::XS is installed, but chooses not to do so in the most common case.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Const-Fast | 0.014_2 |
| FreeBSD | devel/p5-Const-Fast | 0.014_2 |
| OpenBSD | devel/p5-Const-Fast | 0.014 |
| NetBSD | devel/p5-Const-Fast | 0.014nb13 |
| HardenedBSD | devel/p5-Const-Fast | 0.014_2 |
| GhostBSD | devel/p5-Const-Fast | 0.014_2 |
Install
Binary package:
pkg install p5-Const-Fast
From DPorts:
cd /usr/dports/devel/p5-Const-Fast && make install clean