perl-Config-Neat-1.302-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 name perl-Config-Neat
Package version 1.302
Package release alt1
Package architecture noarch
Package type rpm
Installed size 54.60 KB
Download size 54.60 KB
Official Mirror ftp.altlinux.org
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.302
perl(Config/Neat/Array.pm) = 1.302
perl(Config/Neat/Inheritable.pm) = 1.302
perl(Config/Neat/Render.pm) = 1.302
perl(Config/Neat/Schema.pm) = 1.302
perl(Config/Neat/Util.pm) = 1.302
perl-Config-Neat = 1.302-alt1

Download

Type URL
Binary Package perl-Config-Neat-1.302-alt1.noarch.rpm
Source Package perl-Config-Neat-1.302-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.302/Changes
/usr/share/doc/perl-Config-Neat-1.302/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.302-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.05-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-Patch-0.09-alt1.noarch.rpm Patch configuration files and unpatch them later
perl-Config-Patch-scripts-0.09-alt1.noarch.rpm Config-Patch scripts
perl-Config-Path-0.13-alt2_6.noarch.rpm Path-like config API with multiple file support, directory
Advertisement
Advertisement