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 29.873.459 Times

App::Conf::File 0.965

  Date Added: April 11, 2010  |  Visits: 748

App::Conf::File

Report Broken Link
Printer Friendly Version


Product Homepage
Download (78 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  -  Log::Dispatch::Config 1.01
Log::Dispatch::Config is a Log4j for Perl. SYNOPSIS use Log::Dispatch::Config; Log::Dispatch::Config->configure(/path/to/log.conf); my $dispatcher = Log::Dispatch::Config->instance; $dispatcher->debug(this is debug message);...
11.26 KB  
Libraries  -  XML::Writer 0.601
XML::Writer is a Perl extension for writing XML documents. SYNOPSIS use XML::Writer; use IO::File; my $output = new IO::File(">output.xml"); my $writer = new XML::Writer(OUTPUT => $output); $writer->startTag("greeting", "class" =>...
22.53 KB  
Libraries  -  Samba::LDAP::Config 0.03
Samba::LDAP::Config is a Perl module to config file related tasks for Samba::LDAP. SYNOPSIS use Samba::LDAP::Config; my $config = Samba::LDAP::Config->new() or die "Cant create objectn"; # Returns where smbldap.conf, smbldap_bind.conf and...
81.92 KB  
Libraries  -  Java::SJ::Config 0.01
Java::SJ::Config is a Perl module that represents SJ Configuration File. It uses XML::XPath to parse configuration files and generates objects to represent the directives. Unless youre working on the module what you really want to know is what...
18.43 KB  
Libraries  -  Config::File 1.4
Config::File is a Perl module to parse a simple configuration file. SYNOPSIS use Config::File; my $config_hash = Config::File::read_config_file($configuration_file); read_config_file parses a simple configuration file and stores its values...
4.1 KB  
Libraries  -  JoeDog::Config 2.01
JoeDog::Config provides a perl extension for parsing data/configuration file. It reads columns, key-value pairs, and INI style config files into arrays, hashes and hashes of hashes. It can take characters or regexes for separators. ABSTRACT:...
14.34 KB  
Libraries  -  Rsync::Config::Parser 0.3.1
Rsync::Config::Parser is a simple Perl module for Rsync configuration parser. SYNOPSIS use Rsync::Config::Parser; use Rsync::Config; sub main { my $parser = new Rsync::Config::Parser(); my $conf = $parser->parse(/etc/rsyncd.conf); }...
22.53 KB  
Libraries  -  Xmms::Config 0.12
Xmms::Config is a Perl Interface to xmms_cfg API. SYNOPSIS my $file = Xmms::Config->file; #$ENV{HOME}/.xmms/config my $cfg = Xmms::Config->new($file);.
184.32 KB  
Libraries  -  Tie::Layers 0.06
SYNOPSIS ##### # Subroutines # use Tie::Layers qw(is_handle config); $yes = is_handle( $file_handle ); ($key, $old_value) = config(%options, $key); ($key, $old_value) = config(%options, $key => $new_value ); #### # Config default...
71.68 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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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