BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/p5-accessors-fast0.03_1 newestnone known-[email protected]-
NetBSDdevel/p5-accessors-fast0.03nb14 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-accessors-fast0.03_1 newestnone known-[email protected]-
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 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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.03_10.03_10.03_10.03_10.03_1
FreeBSD:14:quarterly0.03_10.03_1n/a0.03_10.03_1
FreeBSD:15:latest0.03_10.03_1n/a0.03_10.03_1
FreeBSD:15:quarterly0.03_10.03_1n/an/an/a
FreeBSD:16:latest0.03_10.03_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

Runtime 3

Test 2

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
FileSizeSHA256
accessors-fast-0.03.tar.gz23777be34064f45f5eb77ab26c27e864d669b590df692b2d36f050e5a83f61dd7c5ca
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.