Path to this page:
./
devel/p5-MooseX-OneArgNew,
Perl 5 Moose role to teach ->new to accept single, non-hashref arguments
Branch: pkgsrc-2012Q4,
Version: 0.002nb1,
Package name: p5-MooseX-OneArgNew-0.002nb1,
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:[
devel/p5-Moose] [
devel/p5-MooseX-Role-Parameterized] [
devel/p5-namespace-autoclean]
Required to build:[
devel/p5-Test-Simple]
Master sites: (Expand)
SHA1: 4d10b4396ccc79f07a0713df69f11904b3c37439
RMD160: 070af561e0494bb02a3ddc0437c05065c78248e5
Filesize: 10.653 KB
Version history: (Expand)
- (2013-01-06) Package added to pkgsrc.se, version p5-MooseX-OneArgNew-0.002nb1 (created)