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

Config::Fast 1.07

  Date Added: February 27, 2010  |  Visits: 610

Config::Fast

Report Broken Link
Printer Friendly Version


Product Homepage
Download (76 downloads)

Config::Fast is an extremely fast configuration file parser. SYNOPSIS # default config format is a space-separated file company "Supercool, Inc." support nobody@nowhere.com # and then in Perl use Config::Fast; %cf = fastconfig; print "Thanks for visiting $cf{company}!n"; print "Please contact $cf{support} for support.n"; This module is designed to provide an extremely lightweight way to parse moderately complex configuration files. As such, it exports a single function - fastconfig() - and does not provide any OO access methods. Still, it is fairly full-featured. Heres how it works: %cf = fastconfig($file, $delim); Basically, the fastconfig() function returns a hash of keys and values based on the directives in your configuration file. By default, directives and values are separated by whitespace in the config file, but this can be easily changed with the delimiter argument (see below). When the configuration file is read, its modification time is first checked and the results cached. On each call to fastconfig(), if the config file has been changed, then the file is reread. Otherwise, the cached results are returned automatically. This makes this module great for mod_perl modules and scripts, one of the primary reasons I wrote it. Simply include this at the top of your script or inside of your constructor function: my %cf = fastconfig(/path/to/config/file.conf); If the file argument is omitted, then fastconfig() looks for a file named $0.conf in the ../etc directory relative to the executable. For example, if you ran: /usr/local/bin/myapp Then fastconfig() will automatically look for: /usr/local/etc/myapp.conf This is great if youre really lazy and always in a hurry, like I am. If this doesnt work for you, simply supply a filename manually. Note that filename generation does not work in mod_perl, so youll need to supply a filename manually..

Requirements: No special requirements
Platforms: Linux
Keyword: Cf Configfast Configuration Configuration File Extremely Extremely Fast Fast File Libraries Programming
Users rating: 0/10

License: Freeware Size: 10.24 KB
CONFIG::FAST RELATED
File Synchronizers  -  Fast Secure File System 0.1.1
Fast Secure File System exports existing directories securely over the network, letting users store and retrieve encrypted data in a scalable and transparent way. FSFS is written in C and works on GNU/Linux systems on x86 and PPC architectures,...
 
File Utilities  -  Fast Secure File System 0.1.1
Fast Secure File System exports existing directories securely over the network, letting users store and retrieve encrypted data in a scalable and transparent way. FSFS is written in C and works on GNU/Linux systems on x86 and PPC architectures,...
196.61 KB  
Utilities  -  Another File Integrity Checker 2.10-1
Another File Integrity Checker is another file integrity checker, designed to be fast and fully portable between Unix and Windows platforms. Another File Integrity Checker works by first creating a database that represents a snapshot of the most...
102.4 KB  
Hard Drive Cleaners  -  Fast Duplicate File Finder 4.1.0.1
Fast Duplicate File Finder will help you find fast all duplicate files in a folder and its sub folders. The applications will compare the content of your files so it will find duplicates even if they are using different file names. It uses fast...
2.66 MB  
Utilities  -  Fast Raw File Copier Pro 1.2.0.0
Fast Raw File Copier Pro easily allows you to copy files while showing progress percentages as well as the ability to copy files which generally cannot be copied through traditional means in the Windows OS. An example of a file which cannot be...
1.3 MB  
Automotive Information Databases  -  Repair MDF File Free 1.0
Repair MDF File Free is a fast and effective tool for recovering corrupted data from database files, Microsoft SQL Server (. mdf files). As a result, no foreseeable situations, your data is stored in databases Microsoft SQL Server may be lost or...
1.88 MB  
Utilities  -  Free File Split Join 7.1.2
Free File Split Join is a super-fast free file splitter and joiner program. It can split your huge files into several smaller chunks at any size you want, so that you can easily attach them to email, burn them into CD/DVD discs, post it in a...
3.54 MB  
Libraries  -  File::Find::Parallel 0.0.4
File::Find::Parallel allows you to traverse a number of similar directories in parallel. SYNOPSIS use File::Find::Parallel; my $ffp = File::Find::Parallel->new( qw( /foo /bar ) ); print "Union:n"; my $union = $ffp->any_iterator print "...
9.22 KB  
Libraries  -  File::Next::OO 0.04
File::Next::OO is a Perl module with file-finding iterator Wrapper for File::Next::files function. SYNOPSIS File::Next::OO is just a wrapper around File::Next::files function. But it is easy to remember and less typing. Call it always with...
8.19 KB  
File Management  -  PHP & FTP File Manager 1.0
PHP & FTP File Manager is a Visual File Manager developed in PHP, JAVASCRIPT and AJAX. It accesses files using FTP, with no need to use PHP or other Server Side Scripting Language, it just needs the FTP user and password. It provides to the user...
 
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.12.2
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