devel/p5-accessors-fast 0.03_1 FreeBSD
Wrap fastest Class::Accessor::* into pragma
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 9.6 KiB, 16.8 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 |
|---|---|---|---|---|---|---|
| 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 |
| DragonFly | devel/p5-accessors-fast | 0.03_1 newest | none known | - | [email protected] | - |
| 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 the ports tree:
cd /usr/ports/devel/p5-accessors-fast/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-accessors-fast>0:devel/p5-accessors-fast
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 | 0.03_1 | 0.03_1 | 0.03_1 | 0.03_1 | 0.03_1 |
| FreeBSD:14:quarterly | 0.03_1 | 0.03_1 | n/a | 0.03_1 | 0.03_1 |
| FreeBSD:15:latest | 0.03_1 | 0.03_1 | n/a | 0.03_1 | 0.03_1 |
| FreeBSD:15:quarterly | 0.03_1 | 0.03_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.03_1 | 0.03_1 | 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
As this port's Makefile names them.
Build 3
p5-Class-Accessor-Fast-XS>=0: devel/p5-Class-Accessor-Fast-XSp5-constant-def>=0.01: devel/p5-constant-defp5-Class-C3>=0: devel/p5-Class-C3
Runtime 3
p5-Class-Accessor-Fast-XS>=0: devel/p5-Class-Accessor-Fast-XSp5-constant-def>=0.01: devel/p5-constant-defp5-Class-C3>=0: devel/p5-Class-C3
Test 2
p5-Test-NoWarnings>=0: devel/p5-Test-NoWarningsp5-lib-abs>=0.90: devel/p5-lib-abs
The full lists below include those, and their dependencies in turn.
Build dependencies 8
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%SITE_PERL%%/accessors/cpants.pl
- %%SITE_PERL%%/accessors/fast.pm
- %%SITE_PERL%%/accessors/fast/tie.pm
- %%PERL5_MAN3%%/accessors::fast.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| accessors-fast-0.03.tar.gz | 23777 | be34064f45f5eb77ab26c27e864d669b590df692b2d36f050e5a83f61dd7c5ca |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.