Package : perl-MooseX-OneArgNew

Package details

Summary: Teach ->new to accept single, non-hashref arguments

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 the
parameterized role|MooseX::Role::Parameterized manpage 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.


URL: http://search.cpan.org/dist/MooseX-OneArgNew
License: GPL+ or Artistic

Maintainer: nobody

List of RPMs