devel/p5-accessors-fast 0.03_1 DragonFly
Wrap fastest Class::Accessor::* into pragma
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 9.0 KiB, 17.0 KiB installed
Description
This module was created as an alternative to use fields, and uses Class::Accessor::Fast as a base
Creates accessors at compiletime
Have own default new method: it creates object as a blessed hash, then locks keys to defined field list, and invoke init. So, recommended usage inside packages, is access by hash keys (it's 3 times faster then accessor). Since keys are locked, you will not suffer from autovivification. Public interface recommended to be documented as accessors.
Uses Class::C3
In the other systems
The newest version among them is 0.03, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-accessors-fast | 0.03_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-accessors-fast | 0.03_1 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-accessors-fast | 0.03nb14 newest | none known | - | [email protected] | 2026-07-16 |
| HardenedBSD | devel/p5-accessors-fast | 0.03_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-accessors-fast | 0.03_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-accessors-fast
From DPorts:
cd /usr/dports/devel/p5-accessors-fast && 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 4
No port depends on this one.