BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-accessors-fast0.03_1 newestnone known-[email protected]-
FreeBSDdevel/p5-accessors-fast0.03_1 newestnone known-[email protected]-
NetBSDdevel/p5-accessors-fast0.03nb14 newestnone known-[email protected]2026-07-16
HardenedBSDdevel/p5-accessors-fast0.03_1 newestno data-[email protected]-
GhostBSDdevel/p5-accessors-fast0.03_1 newestno data-[email protected]-

Compare across BSDs

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.