1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Source: libmoosex-singlearg-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Xavier Guimard <yadd@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13),
libmodule-build-tiny-perl,
perl
Build-Depends-Indep: libmoose-perl,
libtest-fatal-perl,
libtest2-suite-perl
Standards-Version: 4.5.1
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmoosex-singlearg-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmoosex-singlearg-perl.git
Homepage: https://metacpan.org/release/MooseX-SingleArg
Package: libmoosex-singlearg-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends},
libmoose-perl
Description: module to instantiate Moose objects using a single argument
MooseX::SingleArg allows Moose instances to be constructed with a single
argument. Your class or role must use this module and then use the single_arg
method to declare which attribute will be assigned the single argument value.
.
If the class is constructed using the typical argument list name/value pairs,
or with a hashref, then things work as is usual. But, if the arguments are a
single non-hashref value then that argument will be assigned to whatever
attribute you have declared.
|