perl-Config-Validate-0.2.6-alt1.noarch.rpm


Advertisement

Description

perl-Config-Validate - Validate data structures generated from

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Config-Validate
Package version 0.2.6
Package release alt1
Package architecture noarch
Package type rpm
Installed size 45.12 KB
Download size 45.12 KB
Official Mirror ftp.altlinux.org
This module is for validating configuration data that has been read in
already and is in a Perl data structure.  It does not handle reading
or parsing configuration files since there are a plethora of available
modules on CPAN to do that task.  Instead it concentrates on verifying
that the data read is correct, and providing defaults where
appropriate.  It also allows you to specify that a given configuration
key may be available under several aliases, and have those renamed to
the canonical name automatically.
The basic model used is that the caller provides a schema as a perl
data structure that describes the constraints to verify against.  The
caller can then use the `Config::Validate' object to validate any
number of data structures against the configured schema.  If the data
structure conforms to the schema given, then a new data structure will
be returned, otherwise an exception is thrown.
Probably the easiest way to explain the intent is that
`Config::Validate' is trying to be like `Params::Validate' for
configuration files and other data structures.
This module has the following features:
=over
=item
* Data structure depth is only limited by stack depth
=item
* Can provide defaults for missing items at any level of the data structure.
=item * Can require that items exist, or items can be optional.
=item * Can validate items in the data structure against a number of built in data types, and users can easily add more data types.
=item * Configuration keys can be known by several names, and will be normalized to the canonical name in the data structure returned by the validation.
=back

Alternatives

Package Version Architecture Repository
perl-Config-Validate - - -

Requires

Name Value
/usr/share/perl5 -
perl(Carp/Clan.pm) -
perl(Clone/PP.pm) -
perl(Data/Dumper.pm) -
perl(Data/Validate/Domain.pm) -
perl(List/MoreUtils.pm) -
perl(Object/InsideOut.pm) -
perl(Params/Validate.pm) -
perl(Scalar/Util.pm) >= 1.100
perl(attributes.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Config/Validate.pm) = 0.002.006
perl-Config-Validate = 0.2.6-alt1

Download

Type URL
Binary Package perl-Config-Validate-0.2.6-alt1.noarch.rpm
Source Package perl-Config-Validate-0.2.6-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Config-Validate rpm package:
    # sudo apt-get install perl-Config-Validate

Files

Path
/usr/share/doc/perl-Config-Validate-0.2.6/Changes
/usr/share/doc/perl-Config-Validate-0.2.6/README
/usr/share/perl5/Config/Validate.pm

See Also

Package Description
perl-Config-Validator-1.3-alt1_11.noarch.rpm Schema based configuration validation
perl-Config-Vars-0.01-alt1.noarch.rpm perl module Config-Vars
perl-Config-Versioned-1.01-alt1.noarch.rpm Simple, versioned access to configuration data
perl-Config-Versioned-scripts-1.01-alt1.noarch.rpm Config-Versioned scripts
perl-Config-Wild-2.02-alt1.noarch.rpm parse an application configuration file with wildcard keywords
perl-Config-Wrest-1.036-alt1.noarch.rpm Read and write Configuration data With References, Environment variables, Sections, and Templating
perl-Config-XMLPerl-0.01-alt1.noarch.rpm Configuration files based in XML, where Perl data codes as XML values are enabled
perl-Config-XPath-0.16-alt1.noarch.rpm retrieve configuration data from XML files by using XPath
perl-Config-YAARG-0.023-alt1.noarch.rpm Yet-another argument processor, designed to provide a standard method for parsing constructor argum
perl-Config-YAML-Modern-0.36-alt1.noarch.rpm Modern YAML-based config loader from file or directory
perl-Config-YAML-Tiny-1.42.0-alt1.noarch.rpm simple reading and writing of YAML-formatted
perl-Config-Yacp-2.00-alt1.noarch.rpm perl module Config-Yacp
perl-Config-Yak-0.23-alt1.noarch.rpm a tree-based versatile config handler
perl-Config-ZOMG-1.000000-alt1.noarch.rpm Yet Another Catalyst::Plugin::ConfigLoader-style layer over Config::Any
perl-Config-apiLayers-0.11-alt1.noarch.rpm Auto-prototyping object properties in multiple configuration layers
Advertisement
Advertisement