perl-Config-Wild - parse an application configuration file with wildcard keywords

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Config-Wild
Package version 2.02
Package release alt1
Package architecture noarch
Package type rpm
Installed size 71.82 KB
Download size 71.82 KB
Official Mirror
This is a simple package to parse and present to an application
configuration information read from a configuration file.
Configuration information in the file has the form
keyword = value
where *keyword* is a token which may contain Perl regular expressions
surrounded by curly brackets, i.e.
foobar.{\d+}.name = goo
and *value* is the remainder of the line after any whitespace following
the `=' character is removed.
Keywords which contain regular expressions are termed *wildcard*
keywords; those without are called *absolute* keywords.  Wildcard
keywords serve as templates to allow grouping of keywords which have
the same value.  For instance, say you've got a set of keywords which
normally have the same value, but where on occaision you'd like to
override the default:
p.{\d+}.foo = goo = flabber
*value* may reference environmental variables or other Config::Wild
variables via the following expressions:
=over 4
=item *
Environment variables may be accessed via `${var}':
foo = ${HOME}/foo
If the variable doesn't exist, the expression is replaced with
an empty string.
=item *
Other Config::Wild variables may be accessed via `$(var)'.
root = ${HOME}
foo = $(root)/foo
If the variable doesn't exist, the expression is replaced with
an empty string.  Variable expansions can be nested, as in
root = /root
branch = $(root)/branch
tree = $(branch)/tree
`tree' will evaluate to `/root/branch/tree'.
=item *
*Either* type of variable may be accessed via `$var'.
In this case, if *var* is not a Config::Wild variable, it is
assumed to be an environmental variable.
If the variable doesn't exist, the expression is left as is.
Substitutions are made when the value method is called, not when
the values are first read in.
Lines which begin with the `#' character are ignored.  There is also a
set of directives which alter the where and how Config::Wild reads
configuration information.  Each directive begins with the `%' character
and appears alone on a line in the config file:
=over 4
=item %include file
Temporarily interrupt parsing of the current input file, and switch
the input stream to the specified *file*.


Package Version Architecture Repository
perl-Config-Wild - - -


Name Value
/usr/share/perl5 -
perl(File/ -
perl(Lingua/Boolean/ -
perl(List/ >= 1.240
perl(Log/ -
perl(Path/ >= 0.018
perl(Try/ -
perl(custom/ -
perl(namespace/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Config/ = 2.020
perl-Config-Wild = 2.02-alt1


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



See Also

Package Description
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
perl-Confluence-Client-XMLRPC-2.5-alt1.noarch.rpm Client for the Atlassian Confluence wiki, based on RPC::XML
perl-Confman-0.04-alt1.noarch.rpm Perl library to interface with Confman
perl-Connector-1.26-alt1.noarch.rpm a generic connection to a hierarchical-structured data set
perl-Const-Common-0.01-alt1.noarch.rpm Yet another constant definition module
perl-Const-Common-Generator-0.01-alt1.noarch.rpm Auto generate constant package of Const::Common