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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/p5-MooseX-OneArgNew | 0.007nb4 newest | none known | - | [email protected] | 2026-07-16 |
| FreeBSD | devel/p5-MooseX-OneArgNew | 0.005 | none known | - | [email protected] | 2026-09-23 |
| DragonFly | devel/p5-MooseX-OneArgNew | 0.005 | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-MooseX-OneArgNew | 0.005 | no data | - | [email protected] | - |
| GhostBSD | devel/p5-MooseX-OneArgNew | 0.005 | no data | - | [email protected] | - |
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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.007nb4 |
| NetBSD 10.1 aarch64 | 0.007nb4 |
| SmartOS / illumos x86_64 | 0.007nb4 |
| macOS 15 arm64 | 0.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.