p5-Data-Domain-1.06_1.txz


Advertisement

Description

p5-Data-Domain - Data description and validation

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly i386
Package filename p5-Data-Domain-1.06_1.txz
Package name p5-Data-Domain
Package version 1.06
Package release 1
Package architecture i386
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Data-Domain
License GPLv1+, ART10
Maintainer sunpoet@FreeBSD.org
Download size 38.61 KB
Installed size 99.86 KB
A data domain is a description of a set of values, either scalar or structured
(arrays or hashes). The description can include many constraints, like minimal
or maximal values, regular expressions, required fields, forbidden fields, and
also contextual dependencies. From that description, one can then invoke the
domain's inspect method to check if a given value belongs to it or not. In case
of mismatch, a structured set of error messages is returned.
The motivation for writing this package was to be able to express in a compact
way some possibly complex constraints about structured data. Typically the data
is a Perl tree (nested hashrefs or arrayrefs) that may come from XML, JSON, from
a database through DBIx::DataModel, or from postprocessing an HTML form through
CGI::Expand. Data::Domain is a kind of tree parser on that structure, with some
facilities for dealing with dependencies within the structure, and with several
options to finely tune the error messages returned to the user.
WWW: https://metacpan.org/release/Data-Domain

Alternatives

Package Version Architecture Repository
p5-Data-Domain-1.06_1.txz 1.06 amd64 FreeBSD Ports Quarterly
p5-Data-Domain-1.06_1.txz 1.06 amd64 FreeBSD Ports Latest
p5-Data-Domain-1.06_1.txz 1.06 i386 FreeBSD Ports Latest
p5-Data-Domain - - -

Requires

Name Value
p5-Date-Calc = 6.4
p5-List-MoreUtils = 0.428
p5-Scalar-Does = 0.203
p5-Sub-Exporter = 0.987_1
p5-Try-Tiny = 0.30
p5-experimental = 0.020
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Data-Domain-1.06_1.txz
Source Package devel/p5-Data-Domain

Install Howto

Install p5-Data-Domain txz package:

# pkg install p5-Data-Domain

See Also

Package Description
p5-Data-Dump-1.23_1.txz Pretty printing of data structures
p5-Data-Dump-Color-0.241.txz Like Data::Dump, but with color
p5-Data-Dump-Streamer-2.40.txz Stream a highly accurate breadth first data dump in Perl code
p5-Data-DumpXML-1.06_2.txz Dump arbitrary data structures as XML
p5-Data-Dumper-2.173.txz Stringified perl data structures, suitable for both printing and eval
p5-Data-Dumper-Concise-2.023.txz Less indentation and newlines plus sub deparsing
p5-Data-Dumper-Perltidy-0.01_1.txz Stringify and pretty print Perl data structures
p5-Data-Dumper-Simple-0.11_1.txz Easily dump variables with names
p5-Data-Entropy-0.007_1.txz Entropy (randomness) management
p5-Data-Float-0.013.txz Details of the floating point data type
p5-Data-Flow-1.02_1.txz Perl extension for simple-minded recipe-controlled build of data
p5-Data-FormValidator-4.88.txz Validates user input (usually from an HTML form) based
p5-Data-FormValidator-Constraints-DateTime-1.11_1.txz Data::FormValidator constraints for dates and times
p5-Data-GUID-0.049.txz Generate globally unique identifiers
p5-Data-Google-Visualization-DataSource-0.01_1.txz Perl helper class for the Google Chart Tools Datasource Protocol
Advertisement
Advertisement