devel/p5-Object-InsideOut 4.05nb8 NetBSD
Perl 5 module providing comprehensive inside-out object support
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 86.0 KiB, 486.1 KiB installed
Description
The Perl 5 module Object::InsideOut provides comprehensive support for implementing classes using the inside-out object model.
It implements inside-out objects as anonymous scalar references that are blessed into a class with the scalar containing the ID for the object (usually a sequence number). Object data (i.e., fields) are stored within the class's package in either arrays indexed by the object's ID, or hashes keyed to the object's ID.
The virtues of the inside-out object model over the 'blessed hash' object model have been extolled in detail elsewhere. Briefly, inside-out objects offer the following advantages over 'blessed hash' objects: * Encapsulation * Field Name Collision Avoidance * Compile-time Name Checking
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Object-InsideOut | 4.05nb8 |
| FreeBSD | devel/p5-Object-InsideOut | 4.05 |
| DragonFly | devel/p5-Object-InsideOut | 4.05 |
| HardenedBSD | devel/p5-Object-InsideOut | 4.05 |
| GhostBSD | devel/p5-Object-InsideOut | 4.05 |
Install
Binary package:
pkgin install p5-Object-InsideOut
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Object-InsideOut && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 4.05nb8 |
| NetBSD 10.1 aarch64 | 4.05nb7 |
| SmartOS / illumos x86_64 | 4.05nb8 |
| macOS 15 arm64 | 4.05nb8 |