Config::IniFiles 2.38
Sponsored Links
Config::IniFiles 2.38 Ranking & Summary
File size:
0.036 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1233
Date added:
2006-06-15
Publisher:
Scott Hutton
Config::IniFiles 2.38 description
Config::IniFiles is a module for reading .ini-style configuration files.
SYNOPSIS
use Config::IniFiles;
my $cfg = new Config::IniFiles( -file => "/path/configfile.ini" );
print "The value is " . $cfg->val( Section, Parameter ) . "."
if $cfg->val( Section, Parameter );
Config::IniFiles provides a way to have readable configuration files outside your Perl script. Configurations can be imported (inherited, stacked,...), sections can be grouped, and settings can be accessed from a tied hash.
FILE FORMAT
INI files consist of a number of sections, each preceded with the section name in square brackets. The first non-blank character of the line indicating a section must be a left bracket and the last non-blank character of a line indicating a section must be a right bracket. The characters making up the section name can be any symbols at all. However section names must be unique.
Parameters are specified in each section as Name=Value. Any spaces around the equals sign will be ignored, and the value extends to the end of the line. Parameter names are localized to the namespace of the section, but must be unique within a section.
[section]
Parameter=Value
Both the hash mark (#) and the semicolon (;) are comment characters. by default (this can be changed by configuration) Lines that begin with either of these characters will be ignored. Any amount of whitespace may precede the comment character.
Multi-line or multi-valued parameters may also be defined ala UNIX "here document" syntax:
Parameter=<<EOT
value/line 1
value/line 2
EOT
You may use any string you want in place of "EOT". Note that what follows the "<<" and what appears at the end of the text MUST match exactly, including any trailing whitespace.
As a configuration option (default is off), continuation lines can be allowed:
[Section]
Parameter=this parameter
spreads across
a few lines
SYNOPSIS
use Config::IniFiles;
my $cfg = new Config::IniFiles( -file => "/path/configfile.ini" );
print "The value is " . $cfg->val( Section, Parameter ) . "."
if $cfg->val( Section, Parameter );
Config::IniFiles provides a way to have readable configuration files outside your Perl script. Configurations can be imported (inherited, stacked,...), sections can be grouped, and settings can be accessed from a tied hash.
FILE FORMAT
INI files consist of a number of sections, each preceded with the section name in square brackets. The first non-blank character of the line indicating a section must be a left bracket and the last non-blank character of a line indicating a section must be a right bracket. The characters making up the section name can be any symbols at all. However section names must be unique.
Parameters are specified in each section as Name=Value. Any spaces around the equals sign will be ignored, and the value extends to the end of the line. Parameter names are localized to the namespace of the section, but must be unique within a section.
[section]
Parameter=Value
Both the hash mark (#) and the semicolon (;) are comment characters. by default (this can be changed by configuration) Lines that begin with either of these characters will be ignored. Any amount of whitespace may precede the comment character.
Multi-line or multi-valued parameters may also be defined ala UNIX "here document" syntax:
Parameter=<<EOT
value/line 1
value/line 2
EOT
You may use any string you want in place of "EOT". Note that what follows the "<<" and what appears at the end of the text MUST match exactly, including any trailing whitespace.
As a configuration option (default is off), continuation lines can be allowed:
[Section]
Parameter=this parameter
spreads across
a few lines
Config::IniFiles 2.38 Screenshot
Config::IniFiles 2.38 Keywords
IniFiles
IniFiles 2.38
can be
Configuration files
must be
section
files
configuration
parameter
value
module
Config::IniFiles
ConfigIniFiles
Config::IniFiles 2.38
Libraries
Programming
Bookmark Config::IniFiles 2.38
Config::IniFiles 2.38 Copyright
WareSeeker periodically updates pricing and software information of Config::IniFiles 2.38 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Config::IniFiles 2.38 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
configuration file
section v
web config configuration files
ini files
cesarean section
section 8 apartments
configuration files in linux
inifiles.pm
section 8
sectional couches
editing configuration files
section 8 gameplay
leather sectionals
section eight
section 8 housing
config inifiles
about config configuration files
section 125
Related Software
The Configuration File Library (CFL) is a collection of routines for manipulating configuration files. Free Download
Config Maker is a tool to automatically create C++ classes that parse configuration files. Free Download
spConfig is a C library for parsing configuration files with a syntax similar to XML. Free Download
Config::Magic is a Perl extension for reading all kinds of configuration files. Free Download
Edit Config Files is an extension that allows you to edit config files. Free Download
rconfig is a tool that manages configuration files for many machines via rdist trees. Free Download
ConfigFile for Haskell is a configuration file parser and writer library for Haskell. Free Download
Fontconfig is a library for configuring and customizing font access. Free Download
Latest Software
Popular Software
Favourite Software