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

CGI::Ex::Conf 2.06

  Date Added: June 21, 2010  |  Visits: 845

CGI::Ex::Conf

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 downloads)



CGI::Ex::Conf is a Perl module with Conf Reader/Writer for many different data format types. SYNOPSIS use CGI::Ex::Conf qw(conf_read conf_write); my $hash = conf_read("/tmp/foo.yaml"); conf_write("/tmp/foo.yaml", {key1 => $val1, key2 => $val2}); ### OOP interface my $cob = CGI::Ex::Conf->new; my $full_path_to_file = "/tmp/foo.val"; # supports ini, sto, val, pl, xml my $hash = $cob->read($file); local $cob->{default_ext} = conf; # default anyway my @paths = qw(/tmp, /home/pauls); local $cob->{paths} = @paths; my $hash = $cob->read(My::NameSpace); # will look in /tmp/My/NameSpace.conf and /home/pauls/My/NameSpace.conf my $hash = $cob->read(My::NameSpace, {paths => [/tmp]}); # will look in /tmp/My/NameSpace.conf local $cob->{directive} = MERGE; my $hash = $cob->read(FooSpace); # OR # my $hash = $cob->read(FooSpace, {directive => MERGE}); # will return merged hashes from /tmp/FooSpace.conf and /home/pauls/FooSpace.conf # immutable keys are preserved from originating files local $cob->{directive} = FIRST; my $hash = $cob->read(FooSpace); # will return values from first found file in the path. local $cob->{directive} = LAST; # default behavior my $hash = $cob->read(FooSpace); # will return values from last found file in the path. ### manipulate $hash $cob->write(FooSpace); # will write it out the changes There are half a million Conf readers out there. Why not add one more. Actually, this module provides a wrapper around the many file formats and the config modules that can handle them. It does not introduce any formats of its own. This module also provides a preload ability which is useful in conjunction with mod_perl..

Requirements: No special requirements
Platforms: Linux
Keyword: Cgi Cgiexconf Conf Conf Reader Data Format Foospace Hash Libraries Local Module Namespace Conf Perl Perl Module Read
Users rating: 0/10

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


CGI::EX::CONF RELATED
Libraries  -  Common Data Format 3.1
Common Data Format is a self-describing data abstraction for the storage and manipulation of multidimensional data in a platform- and discipline-independent fashion. It consists of a scientific data management package (known as the "CDF...
1.5 MB  
Libraries  -  CGI::Wiki::Plugin::RSS::Reader 1.4
CGI::Wiki::Plugin::RSS::Reader is a Perl module retrieve RSS feeds for inclusion in CGI::Wiki nodes. Use this CGI::Wiki plugin to retrieve an RSS feed from a given URL so that you can include it in a wiki node. SYNOPSIS use...
4.1 KB  
Libraries  -  MP3::Tag::ID3v2-Data 0.9708
MP3::Tag::ID3v2-Data can get_frame() data format and supported frames. SYNOPSIS $mp3 = MP3::Tag->new($filename); $mp3->get_tags(); $id3v2 = $mp3->{ID3v2} if exists $mp3->{id3v2}; ($info, $long) = $id3v2->get_frame($id); # or ($info,...
174.08 KB  
Programming  -  niftilib 2.0.0 Alpha
Niftilib is a set of i/o libraries for reading and writing files in the nifti-1 data format. nifti-1 is a binary file format for storing medical image data, e.g. magnetic resonance image (MRI) and functional MRI (fMRI) brain images.
256 KB  
Libraries  -  Data::CTable 1.03
Data::CTable is a Perl module that helps you read, write, manipulate tabular data. SYNOPSIS ## Read some data files in various tabular formats use Data::CTable; my $People = Data::CTable->new("people.merge.mac.txt"); my $Stats =...
153.6 KB  
Libraries  -  CGI::Application::Plugin::ValidateRM 2.1
CGI::Application::Plugin::ValidateRM is a Perl module to help validate CGI::Application run modes using Data::FormValidator. SYNOPSIS use CGI::Application::Plugin::ValidateRM; my $results = $self->check_rm(form_display,_form_profile) ||...
10.24 KB  
File Utilities  -  EDF(+) to ASCII Format Converter 1.3
The EDF(+) to ASCII Format Converter application was designed to convert all the signals in an EDF-file (European Data Format) to a plain ASCII text-file. This tool provides users with a command line interface so it can be easily used in various...
 
Libraries  -  Data::CGIForm 0.4
Data::CGIForm is a Perl module with form data interface. Data::CGIForm is yet another way to parse and handle CGI form data. The main motivation behind this module was a simple specification based validator that could handle multiple values....
12.29 KB  
Libraries  -  NetCDF 3.6.2
NetCDF is a format developed at Unidata that was inspired by the CDF format from NASA. NetCDF stands for "Network Common Data Form" and is a self-describing data format, commonly used in scientific and engineering applications.. The netCDF...
3.8 MB  
Libraries  -  Catalyst::Plugin::Session::CGISession 0.04
Catalyst::Plugin::Session::CGISession is a Perl module to use CGI::Session for persistent session data. SYNOPSIS use Catalyst qw{ ... Session::CGISession ... }; MyApp->config->{session} = { expires => 3600, rewrite => 1, };...
16.38 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