perl-Config-Neat-1.401-alt1.noarch.rpm


Advertisement

Description

perl-Config-Neat - Parse/render human-readable configuration files with inheritance and schema validation

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Config-Neat-1.401-alt1.noarch.rpm
Package name perl-Config-Neat
Package version 1.401
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 55.22 KB
Installed size 55.22 KB
This module provides parsing capabilites for the Config::Neat configuration file
format (see the example below). This is a highly readable and clean format inspired
by [nginx configuration files](http://wiki.nginx.org/FullExample).
See https://github.com/iafan/Config-Neat/blob/master/sample/readme.nconf
for the detailed file syntax specification.
Sample configuration file (let's call it 'server.nconf'):
host                    localhost
port                    8080
use_ssl                 YES
supported_mime_types    text/html text/css text/xml text/plain
image/gif image/jpeg image/png image/x-icon
application/x-javascript
handler test1 {
url                 /test1
class               MyApp::Test
}
handler test2 {
url                 /test2
class               MyApp::AnotherTest
}
Sample usage:
use Config::Neat;
my $cfg = Config::Neat->new();
my $data = $cfg->parse_file('server.nconf');
my $list = $data->{'server'}->{'supported_mime_types'};
my $handlers = $data->{'handler'};
map {
print $_->{url}->as_string, ' maps to ', $_->{class}->as_string
} @$handlers;

Alternatives

Package Version Architecture Repository
perl-Config-Neat - - -

Requires

Name Value
/usr/share/perl5 -
perl(File/Basename.pm) -
perl(File/Spec/Functions.pm) -
perl(Storable.pm) -
perl(Tie/IxHash.pm) >= 1.220
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Config/Neat.pm) = 1.401
perl(Config/Neat/Array.pm) = 1.401
perl(Config/Neat/Inheritable.pm) = 1.401
perl(Config/Neat/Render.pm) = 1.401
perl(Config/Neat/Schema.pm) = 1.401
perl(Config/Neat/Util.pm) = 1.401
perl-Config-Neat = 1:1.401-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Config-Neat-1.401-alt1.noarch.rpm
Source Package perl-Config-Neat-1.401-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-Neat rpm package:
    # sudo apt-get install perl-Config-Neat

Files

Path
/usr/share/doc/perl-Config-Neat-1.401/Changes
/usr/share/doc/perl-Config-Neat-1.401/README
/usr/share/perl5/Config/Neat.pm
/usr/share/perl5/Config/Neat/Array.pm
/usr/share/perl5/Config/Neat/Inheritable.pm
/usr/share/perl5/Config/Neat/Render.pm
/usr/share/perl5/Config/Neat/Schema.pm
/usr/share/perl5/Config/Neat/Util.pm

See Also

Package Description
perl-Config-Neat-scripts-1.401-alt1.noarch.rpm Config-Neat scripts
perl-Config-Nested-2.0.1-alt1.noarch.rpm perl module Config-Nested
perl-Config-Objective-0.5-alt1.noarch.rpm Perl module for parsing object-oriented config files
perl-Config-Onion-1.007-alt1.noarch.rpm Layered configuration, because configs are like ogres
perl-Config-OpenSSH-Authkey-1.06-alt1.noarch.rpm interface to OpenSSH authorized_keys data
perl-Config-Options-0.08-alt1.noarch.rpm module to provide a configuration hash with option to read from file
perl-Config-PFiles-Path-0.03-alt1.noarch.rpm manipulate PFILES path for IRAF Compatible parameter files
perl-Config-PL-0.02-alt1.noarch.rpm Using '.pl' file as a configuration
perl-Config-PP-0.04-alt1.noarch.rpm lightweight configuration file manager that uses Pure Perl to serialize
perl-Config-PackageGlobal-OO-0.02-alt1.noarch.rpm A generic configuration object for modules with package global configuration
perl-Config-Param-3.002000-alt1.noarch.rpm all you want to do with parameters for your program (or someone else's)
perl-Config-Param-scripts-3.002000-alt1.noarch.rpm Config-Param scripts
perl-Config-Parser-1.04-alt1.noarch.rpm base class for configuration file parsers
perl-Config-Parser-ldap-1.00-alt1.noarch.rpm configuration file parser for ldap.conf
perl-Config-Patch-0.09-alt1.noarch.rpm Patch configuration files and unpatch them later
Advertisement
Advertisement