Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 34.383.425 Times

App::Conf::File 0.965

  Date Added: April 11, 2010  |  Visits: 888

App::Conf::File

Report Broken Link
Printer Friendly Version


Product Homepage
Download (85 downloads)



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.

Requirements: No special requirements
Platforms: Linux
Keyword: Appconffile Branch Conf Config Default File Libraries Perl Perl Module Programming Xml
Users rating: 0/10

License: Freeware Size: 122.88 KB
USER REVIEWS
More Reviews or Write Review


APP::CONF::FILE RELATED
Libraries  -  Config::Framework 2.5
Config::Framework is a Perl module with handy one-stop shopping for (most) of your configuration file needs. SYNOPSIS #create a new object, load two configuration files and decrypt the passwords. my $Object = new Config::Framework( Files =>...
15.36 KB  
Libraries  -  Config::LotusNotes 0.30
Config::LotusNotes is a Perl module that allows you to access Lotus Notes/Domino configuration. SYNOPSIS $factory = Config::LotusNotes->new(); # access default installation $conf = $factory->default_configuration(); $data =...
28.67 KB  
Libraries  -  Config::Std 0.0.4
Config::Std is a Perl module load and save configuration files in a standard format. SYNOPSIS use Config::Std; # Load named config file into specified hash... read_config demo2.cfg => my %config; # Extract the value of a key/value pair...
12.29 KB  
Libraries  -  Lemonldap::Config::Parameters 3.1.1
emonldap::Config::Parameters is a Perl module as a Backend of configuration for lemonldap SSO system. SYNOPSIS #!/usr/bin/perl use Lemonldap::Config::Parameters; use Data::Dumper; my $nconfig= Lemonldap::Config::Parameters->new( file...
12.29 KB  
Libraries  -  Config::FreeForm 0.01
Config::FreeForm is a Perl module that provides in-memory configuration data. SYNOPSIS use Config::FreeForm %options; Config::FreeForm provides in-memory configuration data in a free-form manner. Many existing configuration modules attempt...
5.12 KB  
Libraries  -  OpenInteract2::Config::Initializer 1.99_06
OpenInteract2::Config::Initializer is a Perl module for observable configuration initialization events. SYNOPSIS # Add an initializer in your package.conf name mypackage version 1.10 ... config_watcher OpenInteract2::MyInitializerSpops...
931.84 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Rsync::Config::Renderer 0.3.1
Rsync::Config::Renderer is a Perl module for rsync config rendering. SYNOPSIS use Rsync::Config::Renderer; my $renderer = Rsync::Config::Renderer->new( indent => 1, indent_char => "t" ); print $renderer->indent_string, q{foobar}; # prints:...
22.53 KB  
Libraries  -  Rsync::Config::Comment 0.3.1
Rsync::Config::Comment is a Perl module with comments as objects. SYNOPSIS my $com1 = new Rsync::Config::Comment(value => this module is private); $com1->to_string(); prints: #this module is private SUBROUTINES/METHODS new...
22.53 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB