Config::Abstract 0.13
Sponsored Links
Config::Abstract 0.13 Ranking & Summary
File size:
0.008 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
927
Date added:
2007-04-12
Publisher:
Eddie Olsson
Config::Abstract 0.13 description
Config::Abstract is a Perl extension for abstracting configuration files.
SYNOPSIS
use Config::Abstract;
my $ini = new Config::Abstract(testdata.pl);
Config::Abstract is the base class for a number of other classes created to facilitate use and handling of a variety of different configuration file formats. It uses the Data::Dumper file format to serialise it self and can be initialise from a file of that format
EXAMPLES
We assume the content of the file testdata.pl to be:
$settings = {
book => {
chapter1 => {
title => The First Chapter, ever,
file => book/chapter1.txt
},
title => A book of chapters,
chapter2 => {
title => The Next Chapter, after the First Chapter, ever,
file => book/chapter2.txt
},
author => Me, Myself and Irene
}
};
use Config::Abstract;
my $settingsfile = testdata.pl;
my $abstract = new Config::Abstract($settingsfile);
my %book = $abstract->get_entry(book);
my %chap1 = $abstract->get_entry_setting(book,chapter1);
my $chap1title = $chapter1{title};
# Want to see the file?
# If you can live without comments and blank lines ;),
# try this:
print("My abstract file looks like this:n$abstractnCool, huh?n");
# We can also create an ini file from it
# A bit crude, but it does the job
bless($abstract,Config::Abstract::Ini);
print($abstract);
SYNOPSIS
use Config::Abstract;
my $ini = new Config::Abstract(testdata.pl);
Config::Abstract is the base class for a number of other classes created to facilitate use and handling of a variety of different configuration file formats. It uses the Data::Dumper file format to serialise it self and can be initialise from a file of that format
EXAMPLES
We assume the content of the file testdata.pl to be:
$settings = {
book => {
chapter1 => {
title => The First Chapter, ever,
file => book/chapter1.txt
},
title => A book of chapters,
chapter2 => {
title => The Next Chapter, after the First Chapter, ever,
file => book/chapter2.txt
},
author => Me, Myself and Irene
}
};
use Config::Abstract;
my $settingsfile = testdata.pl;
my $abstract = new Config::Abstract($settingsfile);
my %book = $abstract->get_entry(book);
my %chap1 = $abstract->get_entry_setting(book,chapter1);
my $chap1title = $chapter1{title};
# Want to see the file?
# If you can live without comments and blank lines ;),
# try this:
print("My abstract file looks like this:n$abstractnCool, huh?n");
# We can also create an ini file from it
# A bit crude, but it does the job
bless($abstract,Config::Abstract::Ini);
print($abstract);
Config::Abstract 0.13 Screenshot
Config::Abstract 0.13 Keywords
Abstract 0.13
perl extension
Configuration files
file
configuration
files
Perl
title
extension
Config::Abstract
ConfigAbstract
Config::Abstract 0.13
Libraries
Programming
Bookmark Config::Abstract 0.13
Config::Abstract 0.13 Copyright
WareSeeker periodically updates pricing and software information of Config::Abstract 0.13 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::Abstract 0.13 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
Related Software
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
Config::Std is a Perl module load and save configuration files in a standard format. Free Download
Confstore is a configuration backup utility. Free Download
rconfig is a tool that manages configuration files for many machines via rdist trees. Free Download
Libconfig is a configuration file processing library that saves you from having to write your own configuration parsers. Free Download
Config::FreeForm is a Perl module that provides in-memory configuration data. Free Download
Latest Software
Popular Software
Favourite Software