perl_configperl_config is a configuration file parser writen in Perl that will form part of other projects. | |
Download |
perl_config Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Kevin Waldron
- Publisher web site:
- http://www.zazzybob.com/sh_config.html
perl_config Tags
perl_config Description
perl_config is a configuration file parser writen in Perl that will form part of other projects. perl_config is a configuration file parser written in Perl that will form part of other projects. This is the result of a couple of hours coding, includes next-to-nothing in terms of syntax checking, so your milage WILL vary! I thought I'd upload it incase it's of use to someone!I am currently writing a few programs that require a simple configuration file to be parsed. I decided to release the bare-bones configuration file parser (under the terms of the GPL of course!) as it's quite a useful tool even in it's early form.This is still very much under-development and doesn't yet include full syntax checking, etc....Sample Configuration Fileperl_config.pl will parse configuration files of the following general form....# This is a comment - obviouslysection_one { some_variable = some_value another_variable = another_value}# another commenta_free_floating_assignment = "Not in any section"another_section { yet_another_variable = 1234} LimitationsThe configuration file parser contains next-to-nothing in terms of syntax checking at present. I will add this in a later release as I incorporate the parser into my projects. For example, no checking is made for empty assignments, duplicate variable names, duplicate section headers, etc.... Requirements: · Perl
perl_config Related Software