Bug#618896: ITP: libmoosex-oneargnew-perl -- Moose role that extends class' constructor to accept single arguments
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Bug#618896: ITP: libmoosex-oneargnew-perl -- Moose role that extends class' constructor to accept single arguments
- From: Alessandro Ghedini <al3xbio@gmail.com>
- Date: Sat, 19 Mar 2011 13:14:28 +0100
- Message-id: <20110319121428.23570.76723.reportbug@localhost>
- Reply-to: Alessandro Ghedini <al3xbio@gmail.com>, 618896@bugs.debian.org
Package: wnpp
Severity: wishlist
Owner: Alessandro Ghedini <al3xbio@gmail.com>
* Package name : libmoosex-oneargnew-perl
Version : 0.001
Upstream Author : Ricardo Signes <rjbs@cpan.org>
* URL : http://search.cpan.org/dist/MooseX-OneArgNew/
* License : GPL-1+ or Artistic
Programming Lang: Perl
Description : Moose role that extends class' constructor to accept single 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 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.
NOTE: This is another dependency of the new version of libconfig-mvp-perl.
Reply to: