perl-Config-Terse - delimited key and value:

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Config-Terse
Package version 0.01
Package release alt1
Package architecture noarch
Package type rpm
Installed size 29.43 KB
Download size 29.43 KB
Official Mirror
Config::Terse parses configuration files with very compact syntax, which
may seem rude or unfriendly. It provides sections with keyword/value pairs,
sections inheritance and named groups of sections.
Each line in the config file contains whitespace-delimited key and value:
key         value
anotherkey  other value
koe         ne se chete
Sections begin with equal sign on new line, followed by the section name:
sectionkey1  value
newkey       value
Sections may inherit other sections. Inherited sections are specified with
plus sign and name after the section name:
=newsection  +othersection1  +othersection2  ...
Sections may be grouped in groupss. Group names are specified with "at" sign (@)
followed by the group name, after the section name:
=apple  @fruits
Inheritance and groups can be combined but order is important! All inherited
sections specified before group is taken from the main (root) sections.
Inherited sections after group name is taken from the same group (if such
Sections can be added to multiple groups. They will be linked together and
changing one section key will be visible in the other groups.
Here is an example:
color  green
=tree  @fruits
isatree  yes
=apple +green  @fruits  +tree
name  this is a green apple tree
The "apple" section will inherit "green" section, then will be put in the
"fruits" group and finally will inherit the "tree" section from "fruits".
All section and key names are converted to upper case by default.
The result perl hash structure for all the examples combined will be:
$VAR1 = {
'GREEN' => {
'COLOR' => 'green'
'MAIN' => {
'ANOTHERKEY' => 'other value',
'KEY' => 'value',
'KOE' => 'ne se chete'
'FRUITS' => {
'TREE' => {
'ISATREE' => 'yes'
'APPLE' => {
'COLOR' => 'green',
'NAME' => 'this is a green apple tree',
'ISATREE' => 'yes'
'SECTIONKEY1' => 'value',
'NEWKEY' => 'value'
Default section name is 'MAIN'. It is used for keys in files without any
sections or for keys in the leading part of a file where no section has been
defined yet. Default section name can be changed with 'MAIN' option and will
be modified by the 'CASE' option. See 'OPTIONS' section below.


Package Version Architecture Repository
perl-Config-Terse - - -


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


Name Value
perl(Config/ = 0.010
perl-Config-Terse = 0.01-alt1


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



See Also

Package Description
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
perl-Config-Utils-0.06-alt1.noarch.rpm Config utilitites
perl-Config-Validate-0.2.6-alt1.noarch.rpm Validate data structures generated from
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