BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-autobox3.0.2nb3 newestnone known-[email protected]2026-07-16
FreeBSDdevel/p5-autobox3.0.2 newestnone known-[email protected]-
OpenBSDdevel/p5-autobox3.0.2 newestno data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlydevel/p5-autobox2.84none known-[email protected]-
MidnightBSDdevel/p5-autobox3.0.2 newestno data-[email protected]-
HardenedBSDdevel/p5-autobox3.0.2 newestno data-[email protected]-
GhostBSDdevel/p5-autobox3.0.2 newestno data-[email protected]-

Compare across BSDs

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.

RepositoryVersion
NetBSD 10.1 x86_643.0.2nb3
NetBSD 10.1 aarch643.0.2nb3
SmartOS / illumos x86_643.0.2nb3
macOS 15 arm643.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.

Dependencies

Run dependencies 3

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0