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

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

Serving Software Downloads in 956 Categories, Downloaded 50.319.497 Times

Config::Objective 0.9.1

Company: Mark D. Roth
Date Added: November 29, 2013  |  Visits: 336

Config::Objective

Report Broken Link
Printer Friendly Version


Product Homepage
Download (41 downloads)



Config::Objective is a Perl module that provides a mechanism for parsing config files to manipulate configuration data. Unlike most other config file modules, which represent config data as simple variables, Config::Objective represents config data as perl objects. This allows for a much more flexible configuration language, since new classes can be easily written to add methods to the config syntax.<br /><br />The Config::Objective class supports the following methods:<br /><br />new()<br /><br /> The constructor. The first argument is the filename of the config file to parse. The second argument is a reference to a hash that maps names to configuration objects.<br /><br /> The remaining arguments are interpretted as a hash of attributes for the object. Currently, the only supported attribute is include_dir, which specifies the directory to search for include files (see "File Inclusion"). If not specified, include_dir defaults to ".".<br /><br />object_name<br /><br /> Once the constructor parses the config file, you can call the get() method of any of the objects by using the object name as an autoloaded method (see "Recommended Methods").<br /><br />get_obj()<br /><br /> Returns a reference to the object of the specified object name. The object name is the first argument.<br /><br />obj_names()<br /><br /> Returns a list of known object names.<br /><br />get_hash()<br /><br /> Returns a hash where the keys are the known object names and the values are the result of calling the get() method on the corresponding object.<br /><br />SYNOPSIS<br /><br /> use Config::Objective;<br /> use Config::Objective::String;<br /> use Config::Objective::List;<br /><br /> my $conf = Config::Objective->new('filename',<br /> {<br /> 'var1' => Config::Objective::String->new(),<br /> 'var2' => Config::Objective::List->new(),<br /> ...<br /> },<br /> 'include_dir' => '/usr/local/share/appname');<br /><br /> print "var1 = "" . $conf->var1 . ""n";

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Argument Argumentobj Names Config Config Objective Configobjective Configuration Constructor Files Include Dir Method Methodsquotget Obj Names Object Objective Objects Quotrecommended Reference Returns
Users rating: 0/10

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


CONFIG::OBJECTIVE RELATED
Libraries  -  Simple Config 1.1.1
Simple Config library supports configuration files consisting of simple name-value pairs, similar to the old Windows INI files. A config file can be loaded into memory, queried by item name, modified, and written back out to a file. Configuration...
23.55 KB  
Libraries  -  Perl::Critic::Config 1.061
Perl::Critic::Config is a Perl module to find and load Perl::Critic user-preferences. Perl::Critic::Config takes care of finding and processing user-preferences for Perl::Critic. The Config object defines which Policy modules will be loaded into...
245.76 KB  
Utilities  -  KGentooConf 0.0201a
KGentooConf is a global configuration tool to edit configuration text files from Gentoo Linux. KGentooConf offers a simple and elegant KDE GUI. This project is currently in heavy development so... maybe has a lot of bugs ;) Send all bugs and...
675.84 KB  
Libraries  -  X12::Parser::Readme 0.08
X12::Parser::Readme is a Perl module for understanding configuration (cf) files for X12::Parser. X12 transactions ASC X12 standards define commonly used EDI transactions. The standards define a structure/format for exchange of EDI data. Each...
19.46 KB  
Programming  -  SQLite Persistent Objects 1.0
Wouldn't it be nice if your Objective-C data objects just knew how to save and load themselves? It'd be nice if you could just call "save" and trust that your object would save itself properly somewhere, and that when you wanted to load it back...
931.84 KB  
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  -  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  
Programming  -  Config::Context 0.10
Config::Context is a Perl module that provides a consistent interface to many hierarchical configuration file formats such as Config::General, XML::Simple and Config::Scoped. It also provides Apache-style context matching. You can...
3.8 MB  
Programming  -  Config::Strict 0.07
Config::Strict is a Perl module that wraps Declare::Constraints::Simple to enable strict parameter name- and type-checking on configuration data. That is, it will complain anytime an attempt is made to access a parameter with an invalid name or...
10.24 KB  
Libraries  -  HH::Unispool::Config::File::Token::Unnumbered::Bcs 0.3
HH::Unispool::Config::File::Token::Unnumbered::Bcs is a Perl class for BCS B tokens. SYNOPSIS Application programmers dont need to use this class and API programmers read code. ABSTRACT class for BCS B tokens...
133.12 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 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  -  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