devel/p5-autobox 3.0.2nb3 NetBSD
Perl 5 module to add methods on native types
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 22.6 KiB, 73.7 KiB installed
Description
The Perl 5 module autobox provides an autobox pragma. It allows methods to be called on integers, floats, strings, arrays, hashes, and code references in exactly the same manner as blessed references. The autoboxing is transparent: boxed values are not blessed into their (user-defined) implementation class (unless the method elects to bestow such a blessing) - they simply use its methods as though they are. The classes (packages) into which the native types are boxed are fully configurable. By default, a method invoked on a non-object is assumed to be defined in a class whose name corresponds to the ref() type of that value - or SCALAR if the value is a non-reference. This mapping can be overriden by passing key/value pairs to the use autobox statement, in which the keys represent native types, and the values their associated classes.
In the other systems
The newest version among them is 3.0.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/p5-autobox | 3.0.2nb3 newest | none known | - | [email protected] | 2026-07-16 |
| FreeBSD | devel/p5-autobox | 3.0.2 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-autobox | 3.0.2 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| DragonFly | devel/p5-autobox | 2.84 | none known | - | [email protected] | - |
| MidnightBSD | devel/p5-autobox | 3.0.2 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-autobox | 3.0.2 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-autobox | 3.0.2 newest | no data | - | [email protected] | - |
Install
Binary package:
pkgin install p5-autobox
From pkgsrc:
cd /usr/pkgsrc/devel/p5-autobox && 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 | 3.0.2nb3 |
| NetBSD 10.1 aarch64 | 3.0.2nb3 |
| SmartOS / illumos x86_64 | 3.0.2nb3 |
| macOS 15 arm64 | 3.0.2nb3 |
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.