| 1 |
Source: libdata-validate-struct-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: libdata-validate-ip-perl <!nocheck>, |
| 9 |
libdata-validate-perl <!nocheck>, |
| 10 |
libregexp-common-perl <!nocheck>, |
| 11 |
perl |
| 12 |
Standards-Version: 4.6.2 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdata-validate-struct-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdata-validate-struct-perl.git |
| 15 |
Homepage: https://metacpan.org/release/Data-Validate-Struct |
| 16 |
Rules-Requires-Root: no |
| 17 |
|
| 18 |
Package: libdata-validate-struct-perl |
| 19 |
Architecture: all |
| 20 |
Depends: ${misc:Depends}, |
| 21 |
${perl:Depends}, |
| 22 |
libdata-validate-ip-perl, |
| 23 |
libdata-validate-perl, |
| 24 |
libregexp-common-perl |
| 25 |
Description: module to validate recursive hash structures |
| 26 |
Data::Validate::Struct validates a hash reference against a given hash |
| 27 |
structure. This is in contrast to Data::Validate in which you have to check |
| 28 |
each value separately. |
| 29 |
. |
| 30 |
The hash could be the result of a config parser or just any hash structure. |
| 31 |
E.g. the hash returned by XML::Simple could be validated using this module. |
| 32 |
You may also use it to validate CGI input; just fetch the input data from |
| 33 |
CGI, map it to a hash and validate it. |