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

Property Value
Distribution NetBSD 7.1
Repository NetBSD amd64
Package name p5-MooseX-OneArgNew
Package version 0.005nb3
Package architecture amd64
Package type tgz
Package license gnu-gpl-v2 OR artistic
Installed size 10.22 KB
Download size 6.48 KB
Official Mirror ftp.netbsd.org
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:
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.
This is the string that will be used as the key for the hashref
constructed from the one-arg call to new.
Homepage: http://search.cpan.org/dist/MooseX-OneArgNew/
Categories: devel, perl5


Package Version Architecture Repository
p5-MooseX-OneArgNew-0.005nb3.tgz 0.005nb3 i386 NetBSD
p5-MooseX-OneArgNew - - -


Name Value
p5-Moose [0-9]*
p5-MooseX-Role-Parameterized >=1.01
p5-namespace-autoclean [0-9]*
perl >=5.28.0<5.30.0


Type URL
Binary Package p5-MooseX-OneArgNew-0.005nb3.tgz
Source Package p5-MooseX-OneArgNew

Install Howto

Install p5-MooseX-OneArgNew tgz package:

# pkg_add p5-MooseX-OneArgNew

See Also

Package Description
p5-MooseX-POE-0.215nb5.tgz Moose wrapper around a POE::Session
p5-MooseX-Param-0.02nb10.tgz Simple role to provide a standard param method
p5-MooseX-Params-Validate-0.21nb4.tgz Extension of Params::Validate for using Moose's types
p5-MooseX-Role-Parameterized-1.10nb2.tgz Roles with composition parameters
p5-MooseX-Role-Tempdir-0.100nb2.tgz (Perl Module) Moose role to provide temporary directories
p5-MooseX-Role-WithOverloading-0.17nb3.tgz Moose extension for roles which support overloading
p5-MooseX-SemiAffordanceAccessor-0.10nb4.tgz Perl 5 module to name your accessors foo() and set_foo()
p5-MooseX-SetOnce-0.200002nb4.tgz Write-once, read-many attributes for Moose
p5-MooseX-SimpleConfig-0.11nb4.tgz Moose role for setting attributes from a simple configfile
p5-MooseX-Singleton-0.30nb2.tgz Perl 5 module to turn Moose class into a singleton
p5-MooseX-StrictConstructor-0.21nb2.tgz Make your object constructors blow up on unknown attributes
p5-MooseX-Traits-0.13nb3.tgz Automatically apply roles at object creation time
p5-MooseX-Traits-Pluggable-0.12nb5.tgz Extension to MooseX::Traits
p5-MooseX-Types-0.50nb2.tgz Organise your Moose types in libraries
p5-MooseX-Types-Common-0.001014nb2.tgz Commonly-used type constraints that do not ship with Moose by default