Path to this page:
./
devel/p5-MooseX-OneArgNew,
Moose role to teach ->new to accept single, non-hashref arguments
Branch: pkgsrc-2014Q3,
Version: 0.004,
Package name: p5-MooseX-OneArgNew-0.004,
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]
Master sites: (Expand)
SHA1: 0a43d7314c78db60fa8b6046fdf10f8d32051e7c
RMD160: c081806832d5bf731b8431f19abf2670285d0b80
Filesize: 13.432 KB
Version history: (Expand)
- (2014-10-01) Package added to pkgsrc.se, version p5-MooseX-OneArgNew-0.004 (created)