Path to this page:
./
devel/p5-MooseX-OneArgNew,
Moose role to teach ->new to accept single, non-hashref arguments
Branch: pkgsrc-2019Q1,
Version: 0.005nb3,
Package name: p5-MooseX-OneArgNew-0.005nb3,
Maintainer: pkgsrc-usersMooseX::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.
Required to run:[
lang/perl5] [
devel/p5-MooseX-Role-Parameterized] [
devel/p5-Moose] [
devel/p5-namespace-autoclean]
Required to build:[
pkgtools/cwrappers] [
devel/p5-Package-DeprecationManager]
Master sites: (Expand)
SHA1: 9116fbee21b217ba69e8bee1e30a646a0dc2efa7
RMD160: b95aec7e76339de27a3ae2e16a5763ec9a252354
Filesize: 15.694 KB
Version history: (Expand)
- (2019-04-11) Package added to pkgsrc.se, version p5-MooseX-OneArgNew-0.005nb3 (created)