Linux SoftwareProgrammingLibrariesConfig::IniFiles 2.38

Config::IniFiles 2.38


Config::IniFiles is a module for reading .ini-style configuration files. SYNOPSIS use Config::IniFiles; my $cfg = new Conf
Developer:   Scott Hutton
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   35K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


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=
tags config inifiles  and the  section parameter  the section  the line  line indicating  section must  configuration files  blank character  non blank  cfg val  the value  section name  

Download Config::IniFiles 2.38


 http://mirrors.evolva.ro/CPAN/authors/id/W/WA/WADG/Config-IniFiles-2.38.tar.gz


Authors software

Similar software

Config::IniFiles 2.38 (by Scott Hutton)
Config::IniFiles is a module for reading .ini-style configuration files.

SYNOPSIS

use Config::IniFiles;
my $cfg = new Conf

Template::Tutorial 2.15 (by Andy Wardley)
Template::Tutorial are template toolkit tutorials.

This section includes tutorials on using the Template Toolkit

Parrot::Docs::Section::C 0.4.5 (by The Parrot Team)
Parrot::Docs::Section::C is a C source code documentation section.

SYNOPSIS

use Parrot::Docs::Section::C;

A documentatio

VPN HOWTO 2.0 (by Matthew D. Wilson)
VPN HOWTO is a document that describes how to set up a Virtual Private Network with Linux.

Here are some key features of "VPN HOWT

pyDirStat 0.9.15 (by Arthibus Gissehel)
pyDirStat is a small tool to view statistical information about a directory.

It will generate a view of all files contained in a d

picoSQL 2.0.4a (by picoSoft)
picoSQL project is the first Italian Open Source relational database management system.

The project of picoSQL was born in 1995

Archive::Builder 1.06 (by Adam Kennedy)

docbooktoc.xsl 0.1.0 (by Robert Bienert)
docbooktoc.xsl is a XSLT file for generating a XHTML table of contents from DocBook XML documents

help2man 1.36.4 (by Brendan O'Dea)
help2man is a tool for automatically generating simple manual pages from program output

MathML::Entities 0.13 (by Jacques Distler)
MathML::Entities is a Perl module that can convert XHTML+MathML Named Entities to Numeric Character References.

SYNOPSIS

use M


Other software in this category

zlib 1.2.3 (by Jean-loup Gailly)
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

libjpeg v6b (by Independent JPEG Group)
libjpeg is a library for handling the JPEG (JFIF) image format

OpenSSL 0.9.7c (by The OpenSSL Project Team)
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

libxml2 2.6.27 (by DV)
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

GNU C library 2.4 (by Andreas Jaeger)
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

GNU C library is us

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


Subscribe in Rojo
Google Reader
Add to My Yahoo!

Add to My AOL
Subscribe with Bloglines
Subscribe in NewsGator Online
Add 'nixbit linux software' to Newsburst from CNET News.com
del.icio.us nixbit linux software


Top tags