perl-Config-GitLike - Git-Compatible Config File Parsing

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-Config-GitLike
Package version 1.16
Package release 2.1
Package architecture noarch
Package type rpm
Installed size 80.33 KB
Download size 40.65 KB
Official Mirror
This module handles interaction with configuration files of the style used
by the version control system Git. It can both parse and modify these
files, as well as create entirely new ones.
You only need to know a few things about the configuration format in order
to use this module. First, a configuration file is made up of key/value
pairs. Every key must be contained in a section. Sections can have
subsections, but they don't have to. For the purposes of setting and
getting configuration variables, we join the section name, subsection name,
and variable name together with dots to get a key name that looks like
"section.subsection.variable". These are the strings that you'll be passing
in to 'key' arguments.
Configuration files inherit from each other. By default, 'Config::GitLike'
loads data from a system-wide configuration file, a per-user configuration
file, and a per-directory configuration file, but by subclassing and
overriding methods you can obtain any combination of configuration files.
By default, configuration files that don't exist are just skipped.
See the
ion_file manpage for details on the syntax of git configuration files. We
won't waste pixels on the nitty gritty here.
While the behavior of a couple of this module's methods differ slightly
from the 'git config' equivalents, this module can read any config file
written by git. The converse is usually true, but only if you don't take
advantage of this module's increased permissiveness when it comes to key
names. (See the DIFFERENCES FROM GIT-CONFIG manpage for details.)
This is an object-oriented module using Moo. All subroutines are object
method calls.
A few methods have parameters that are always used for the same purpose:


Package Version Architecture Repository
perl-Config-GitLike - - -


Name Value
perl(:MODULE_COMPAT_5.18.2) -
perl(Moo) -
perl(MooX::Types::MooseLike) -
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1


Name Value
perl(Config::GitLike) = 1.16
perl(Config::GitLike::Cascaded) -
perl(Config::GitLike::Git) -
perl-Config-GitLike = 1.16-2.1


Type URL
Binary Package perl-Config-GitLike-1.16-2.1.noarch.rpm
Source Package perl-Config-GitLike-1.16-2.1.src.rpm

Install Howto

Install perl-Config-GitLike rpm package:

# zypper install perl-Config-GitLike

See Also

Package Description
perl-Config-Grammar-1.11-1.1.noarch.rpm Grammar-Based, User-Friendly Config Parser
perl-Config-INI-0.025-2.1.noarch.rpm Simple .Ini-File Format
perl-Config-IniFiles-2.82-4.2.noarch.rpm A module for reading .ini-style configuration files
perl-Config-MVP-2.200010-2.1.noarch.rpm Multivalue-Property Package-Oriented Configuration
perl-Config-MVP-Reader-INI-2.101463-1.1.noarch.rpm an MVP config reader for .ini files
perl-Config-MySQL-0.02-1.1.noarch.rpm Read and write MySQL-style configuration files
perl-Config-Simple-4.59-22.1.x86_64.rpm Simple configuration file class
perl-Config-Std-0.901-2.1.noarch.rpm Load and save configuration files in a standard format
perl-Config-Tiny-2.22-4.1.noarch.rpm Read/Write .ini style files with as little code as possible
perl-Const-Fast-0.014-2.1.noarch.rpm Facility for creating read-only scalars, arrays, and hashes
perl-Context-Preserve-0.01-2.1.noarch.rpm run code after a subroutine call, preserving the context the subroutine would have seen if it were the last statement in the caller
perl-Contextual-Return-0.004007-8.1.noarch.rpm Create context-sensitive return values
perl-Convert-ASN1-0.27-4.1.noarch.rpm Asn.1 Encode/Decode Library
perl-Convert-BER-1.32-30.1.x86_64.rpm ASN.1 Basic Encoding Rules
perl-Convert-BinHex-1.125-1.1.noarch.rpm Extract Data From Macintosh Binhex Files