devel/p5-accessors 1.01_1 DragonFly
Create accessor methods in caller's package
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 20.5 KiB, 32.5 KiB installed
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 code base when you're feeling lazy. accessors was designed with laziness in mind.
Method-chaining accessors are generated by default. This may be changed in future versions! If you want backwards compatibility use accessors::chained and wait until the dust settles.
See accessors::classic for accessors that always return the current value if you don't like method chaining.
In the other systems
The newest version among them is 1.01, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-accessors | 1.01_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-accessors | 1.01_1 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-accessors | 1.01p2 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-accessors | 1.01nb17 newest | none known | - | [email protected] | 2026-07-16 |
| HardenedBSD | devel/p5-accessors | 1.01_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-accessors | 1.01_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-accessors
From DPorts:
cd /usr/dports/devel/p5-accessors && 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.