| 1 |
Source: libparams-validationcompiler-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Nick Morrott <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13) |
| 8 |
Build-Depends-Indep: libeval-closure-perl <!nocheck>, |
| 9 |
libexception-class-perl <!nocheck>, |
| 10 |
libmoose-perl <!nocheck>, |
| 11 |
libscalar-list-utils-perl <!nocheck>, |
| 12 |
libspecio-perl <!nocheck>, |
| 13 |
libtest-simple-perl <!nocheck>, |
| 14 |
libtest-without-module-perl <!nocheck>, |
| 15 |
libtest2-plugin-nowarnings-perl <!nocheck>, |
| 16 |
libtest2-suite-perl <!nocheck>, |
| 17 |
libtype-tiny-perl <!nocheck>, |
| 18 |
perl |
| 19 |
Standards-Version: 4.6.2 |
| 20 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libparams-validationcompiler-perl |
| 21 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libparams-validationcompiler-perl.git |
| 22 |
Homepage: https://metacpan.org/release/Params-ValidationCompiler |
| 23 |
Rules-Requires-Root: no |
| 24 |
|
| 25 |
Package: libparams-validationcompiler-perl |
| 26 |
Architecture: all |
| 27 |
Depends: ${misc:Depends}, |
| 28 |
${perl:Depends}, |
| 29 |
libeval-closure-perl, |
| 30 |
libexception-class-perl, |
| 31 |
libscalar-list-utils-perl |
| 32 |
Recommends: libclass-xsaccessor-perl |
| 33 |
Description: module to build an optimized subroutine parameter validator |
| 34 |
Params::ValidationCompiler creates a customized, highly efficient parameter |
| 35 |
checking subroutine. It can handle named or positional parameters, and can |
| 36 |
return the parameters as key/value pairs or a list of values. |
| 37 |
. |
| 38 |
In addition to type checks, it also supports parameter defaults, optional |
| 39 |
parameters, and extra "slurpy" parameters. |
| 40 |
. |
| 41 |
A parameter specification can be provided as either an arrayref (which expects |
| 42 |
positional params) or a hashref (which expects named params). Parameter types |
| 43 |
can be specified as Moose, Type::Tiny or Specio type objects. Parameters can |
| 44 |
be specified as being optional and can be provided with default values. |