perl-Data-Domain - Data description and validation

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-Domain-1.06-alt2_6.noarch.rpm
Package name perl-Data-Domain
Package version 1.06
Package release alt2_6
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 85.79 KB
Installed size 85.79 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.
There are several other packages in CPAN doing data validation; these are
briefly listed in the the /"SEE ALSO" manpage section.


Package Version Architecture Repository
perl-Data-Domain - - -


Name Value
/usr/share/perl5 -
perl(Data/ -
perl(Date/ -
perl(List/ -
perl(Scalar/ >= 0.007
perl(Scalar/ -
perl(Sub/ -
perl(Try/ -
perl( -
perl( -
perl( -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -


Name Value
perl(Data/ = 1.060
perl-Data-Domain = 1.06-alt2_6


Type URL
Binary Package perl-Data-Domain-1.06-alt2_6.noarch.rpm
Source Package perl-Data-Domain-1.06-alt2_6.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Data-Domain rpm package:
    # sudo apt-get install perl-Data-Domain



See Also

Package Description
perl-Data-Domain-SemanticAdapter-1.100840-alt1.noarch.rpm Adapter for Data::Semantic objects
perl-Data-Domain-URI-1.100850-alt1.noarch.rpm Data domain classes for URIs
perl-Data-DownSample-LargestTriangleThreeBuckets-1.00-alt1.noarch.rpm server applications such as webserver-browser where the length of the data far exceeds the pixels a
perl-Data-DublinCore-1.00-alt1.noarch.rpm DublinCore XML schemas
perl-Data-Dummy-FromDDL-0.01-alt1.noarch.rpm It's new $module
perl-Data-Dummy-FromDDL-scripts-0.01-alt1.noarch.rpm Data-Dummy-FromDDL scripts
perl-Data-Dump-Ala-SHARYANTO-0.02-alt1.noarch.rpm Use Data::Dump to dump data . la Steven Haryanto
perl-Data-Dump-AutoEncode-0.02-alt1.noarch.rpm dumps encoded data structure for debugging
perl-Data-Dump-Color-0.241-alt1.noarch.rpm Like Data::Dump, but with color
perl-Data-Dump-JavaScript-0.001-alt1.noarch.rpm Pretty printing of data structures as JavaScript
perl-Data-Dump-OneLine-0.07-alt1.noarch.rpm Use Data::Dump to produce dumps that fit in one line
perl-Data-Dump-PHP-0.10-alt1.noarch.rpm Pretty printing of data structures as PHP code
perl-Data-Dump-Partial-0.05-alt1.noarch.rpm Dump data structure compactly and potentially partially
perl-Data-Dump-Patch-Deparse-0.001-alt1.noarch.rpm Patch Data::Dump so it deparses code references
perl-Data-Dump-Patch-ReplaceWithDataDmp-0.01-alt1.noarch.rpm Replace Data::Dump's dump() with Data::Dmp's version