Main > Programming > Libraries >

App::Conf::File 0.965

App::Conf::File 0.965

Sponsored Links

App::Conf::File 0.965 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.12 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 857
Date added: 2007-06-21
Publisher: Stephen Adkins

App::Conf::File 0.965 description

App::Conf::File is a Perl module to load and access configuration data.

SYNOPSIS

use App::Conf;

$config = App::Conf->new();
$config = App::Conf->new(configFile => $file);
print $config->dump(), "n"; # use Data::Dumper to spit out the Perl representation

# accessors
$property_value = $config->get($property_name);
$branch = $config->get_branch($branch_name); # get hashref of properties

# on-demand loading helper methods (private methods)
$config->overlay($config2); # merge the two config structures using overlay rules
$config->overlay($config1, $config2); # merge $config2 onto $config1
$config->graft($branch_name, $config2); # graft new config structure onto branch

# By convention, the configurations for each App-Context service will be located
# two levels under the hash ref as shown.

$config->{Conf} # config settings for all Conf services
$config->{Conf}{default} # config settings for the default Conf service
$config->{Security} # config settings for all Security services
$config->{Security}{default} # config settings for the default Security service
$config->{Template}{tt} # config settings for the Template service named "tt"

# The default driver (if "configClass" not supplied) reads in a Perl
# data structure from the file. Alternate drivers can read a Storable,
# unvalidated XML, DTD-validated XML, RDF-validated XML, or any other
# file format or data source anyone cares to write a driver for.

$conf = {
Standard => {
Log-Dispatch => {
logdir => /var/p5ee,
}
},
Authen => {
passwd => /etc/passwd,
seed => 303292,
},
};

# A comparable unvalidating XML file would look like this.

< conf>
< Standard>
< Log-Dispatch logdir="/var/p5ee"/>
< /Standard>
< Authen passwd="/etc/passwd" seed="303292"/>
< /conf>

# A comparable ini file (.ini) would look like this.

[Standard.Log-Dispatch]
logdir = /var/p5ee
[Authen]
passwd = /etc/passwd
seed = 303292

# A comparable Java properties-like file would look like this.

Standard.Log-Dispatch.logdir = /var/p5ee
Authen.passwd = /etc/passwd
Authen.seed = 303292

App::Conf::File 0.965 Screenshot

Advertisements

App::Conf::File 0.965 Keywords

Bookmark App::Conf::File 0.965

Hyperlink code:
Link for forum:

App::Conf::File 0.965 Copyright

WareSeeker periodically updates pricing and software information of App::Conf::File 0.965 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 App::Conf::File 0.965 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Zoidberg is a modular Perl shell. Free Download
Pod::LaTeX is a Perl module to convert Pod data to formatted Latex. Free Download
Samba::LDAP::Config is a Perl module to config file related tasks for Samba::LDAP. Free Download
Config::FreeForm is a Perl module that provides in-memory configuration data. Free Download
Config::Framework is a Perl module with handy one-stop shopping for (most) of your configuration file needs. Free Download
App::Manager is a Perl module for installing, managing and uninstalling software packages. Free Download
Clone::More is a Perl module that can copy Perl data structures. Free Download
Storable module is a persistence for Perl data structures. Free Download