BSD Ports

devel/p5-MooseX-OneArgNew 0.007nb4 NetBSD

Moose role to teach ->new to accept single, non-hashref arguments

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
7.0 KiB, 10.9 KiB installed

Description

MooseX::OneArgNew lets your constructor take a single argument, which will be translated into the value for a one-entry hashref. It is a parameterized role with two parameters:

type The Moose type that the single argument must be for the one-arg form to work. This should be an existing type, and may be either a string type or a MooseX::Type.

init_arg This is the string that will be used as the key for the hashref constructed from the one-arg call to new.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-MooseX-OneArgNew0.007nb4 newestnone known-[email protected]2026-07-16
FreeBSDdevel/p5-MooseX-OneArgNew0.005none known-[email protected]2026-09-23
DragonFlydevel/p5-MooseX-OneArgNew0.005none known-[email protected]-
HardenedBSDdevel/p5-MooseX-OneArgNew0.005no data-[email protected]-
GhostBSDdevel/p5-MooseX-OneArgNew0.005no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install p5-MooseX-OneArgNew

From pkgsrc:

cd /usr/pkgsrc/devel/p5-MooseX-OneArgNew && 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_640.007nb4
NetBSD 10.1 aarch640.007nb4
SmartOS / illumos x86_640.007nb4
macOS 15 arm640.007nb4

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 4

Commit history 1

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