Config::Fast 1.07

Config::Fast 1.07

Sponsored Links

Config::Fast 1.07 Ranking & Summary

Ranking Click at the star to rankRanking level:
User Review: 0 (0 times) Download now
File size: 0.010 MB Platform: Any Platform License: Perl Artistic License Price: Downloads: 5229 Date added: 2007-08-11 Publisher: Nathan Wiger Publisher URL: http://search.cpan.org/~n

Config::Fast 1.07 description

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.

Download now

Config::Fast 1.07 Screenshot

Sponsored Links
Download Config::Fast 1.07

Config::Fast 1.07 Keywords

Bookmark Config::Fast 1.07

Hyperlink code:
Hyperlink and Intro code:

Config::Fast 1.07 Copyright

WareSeeker periodically updates pricing and software information of Config::Fast 1.07 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Config::Fast 1.07 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Config::Fast 1.07 Related Software


PWC-Config is a graphical user interface for configuring all Web cameras supported by the PWC driver.

pkg-config is a system for managing library compile/link flags that works with automake and autoconf.

XAO::DO::FS::Config is an embeddable configuration object for XAO::FS.

DNS::Config is a Perl module with DNS Configuration.

Config::YUM is a Perl extension for parsing yum.conf.

Config::General is a perl module opens a config file and parses its contents for you.

Config::Std is a Perl module load and save configuration files in a standard format.

Gimp::Config is a Perl module with config options found during configure time.

Config::Model provides a framework to help in validating the semantic content of configuration data.

Config::Model provides a framework to help in validating the semantic content of configuration data.
Config::Fast 1.07 Review:
Author name* :  
Author Email* :  
Comment* :  
Security code* :  
     
   
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD