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 32 33 34 35 36 37 38 39 40 41 42 43
|
Source: libparams-validationcompiler-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Nick Morrott <knowledgejunkie@gmail.com>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 10)
Build-Depends-Indep: libeval-closure-perl,
libexception-class-perl,
libmoose-perl,
libspecio-perl,
libtest-without-module-perl,
libtest2-plugin-nowarnings-perl,
libtest2-suite-perl (>=0.000071),
libtype-tiny-perl,
perl,
perl (>= 5.19.3) | libscalar-list-utils-perl (>= 1:1.29),
perl (>= 5.25.1) | libtest-simple-perl (>= 1.302015)
Standards-Version: 4.2.0
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libparams-validationcompiler-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libparams-validationcompiler-perl.git
Homepage: https://metacpan.org/release/Params-ValidationCompiler
Package: libparams-validationcompiler-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends},
libeval-closure-perl,
libexception-class-perl,
perl (>= 5.19.3) | libscalar-list-utils-perl (>= 1:1.29)
Recommends: libclass-xsaccessor-perl
Description: module to build an optimized subroutine parameter validator
Params::ValidationCompiler creates a customized, highly efficient parameter
checking subroutine. It can handle named or positional parameters, and can
return the parameters as key/value pairs or a list of values.
.
In addition to type checks, it also supports parameter defaults, optional
parameters, and extra "slurpy" parameters.
.
A parameter specification can be provided as either an arrayref (which expects
positional params) or a hashref (which expects named params). Parameter types
can be specified as Moose, Type::Tiny or Specio type objects. Parameters can
be specified as being optional and can be provided with default values.
|