BSD Ports

devel/p5-accessors 1.01p2 OpenBSD

create accessor methods in caller's package

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

Description

The accessors pragma lets you create simple accessors at compile-time.

This saves you from writing them by hand, which tends to result in cut-n-paste errors and a mess of duplicated code. It can also help you reduce the amount of unwanted direct-variable access that may creep into your codebase when you're feeling lazy. accessors was designed with laziness in mind.

In the other systems

The newest version among them is 1.01, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/p5-accessors1.01p2 newestno data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDdevel/p5-accessors1.01_1 newestnone known-[email protected]-
NetBSDdevel/p5-accessors1.01nb17 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-accessors1.01_1 newestnone known-[email protected]-
HardenedBSDdevel/p5-accessors1.01_1 newestno data-[email protected]-
GhostBSDdevel/p5-accessors1.01_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add p5-accessors

From the ports tree:

cd /usr/ports/devel/p5-accessors && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

Build dependencies 1
Required by 1