perl-Config-Simple-Conf - A fast and lightweight configuration file handler

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Config-Simple-Conf
Package version 2.003
Package release alt1
Package architecture noarch
Package type rpm
Installed size 28.71 KB
Download size 28.71 KB
Official Mirror
The idea behind Config::Simple::Conf came from various INI style parsers I've used in the past. In general these have worked well with the exception of lack of complex configuration handling.
Config::Simple for example fails to account for common cases which are extremely useful in any configuration file. These include useful handling of duplicate keys (currently Config::Simple blows them away without any notice), and second, internal macros.
In many of my usage cases I want something like your standard .INI file format, with the above mentioned exceptions.
_# Define a configuration section
_[core section]
_# Define an entry in core section
_path = /root/to/my/stuff
_# Define a new configuration file section
_[section name]
_# Define an entry list and use the value from another section to complete
_# the configuration
_path = [core section:path]/abc
_path = [core section:path]/xyz
Such a configuration would allow me to do two things, establish a core path argument, which is then used in other sections, and have a section with multiple duplicate entires as a list.
An example of the code here would look something like:
_use strict;
_use Config::Simple::Conf;
_my $conf = Config::Simple::Conf->new('/path/to/my.conf');
_print "My root is: " . $conf->value('core section', 'path') . "\n";
_print "My section paths are:\n";
_for($conf->value('section name', 'path')){
__print "\t$_\n";
With the resulting output looking something like:
_My root is: /root/to/my/stuff
_My section paths are:


Package Version Architecture Repository
perl-Config-Simple-Conf - - -


Name Value
/usr/share/perl5 -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Config/Simple/ = 2.003
perl-Config-Simple-Conf = 2.003-alt1


Type URL
Binary Package perl-Config-Simple-Conf-2.003-alt1.noarch.rpm
Source Package perl-Config-Simple-Conf-2.003-alt1.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-Config-Simple-Conf rpm package:
    # sudo apt-get install perl-Config-Simple-Conf



See Also

Package Description
perl-Config-Simple-Extended-0.16-alt1.noarch.rpm Extend Config::Simple w/ Configuration Inheritance, chosen by URL
perl-Config-Simple-Inherit-0.04-alt1.noarch.rpm Inherit values from, overwrite a base configuration
perl-Config-Singleton-0.005-alt1.noarch.rpm one place for your app's configuration
perl-Config-Source-0.08-alt1.noarch.rpm manage a configuration from multiple sources
perl-Config-Station-0.002001-alt1.noarch.rpm Load configs from files and the environment
perl-Config-Strict-0.07-alt1.noarch.rpm Add strict name- and type-checking to configuration data
perl-Config-TT2-0.53-alt1.noarch.rpm Reading configuration files with the Template-Toolkit parser
perl-Config-Terse-0.01-alt1.noarch.rpm delimited key and value:
perl-Config-Tiny-Ordered-1.02-alt1.noarch.rpm Read/Write ordered .ini style files with as little code as possible
perl-Config-Tiny-Singleton-0.02-alt1.noarch.rpm singleton-pattern implementation for Config::Tiny
perl-Config-TinyDNS-1-alt1.noarch.rpm Manipulate tinydns' data file
perl-Config-TinyDNS-scripts-1-alt1.noarch.rpm Config-TinyDNS scripts
perl-Config-Trivial-0.81-alt1.noarch.rpm Very simple tool for reading and writing very simple configuration files
perl-Config-Trivial-Storable-0.32-alt1.noarch.rpm Very simple tool for reading and writing very simple Storable configuration files
perl-Config-Universal-0.5-alt1.noarch.rpm perl module Config-Universal