Package : perl-MooseX-OneArgNew

Package details

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

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.

License: GPL+ or Artistic

Maintainer: nobody

List of RPMs