mrhenroi has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to know how others handle the configuration of their tool sets.
My group maintains a set of tools that are configured with configuration files written in Perl. Each configuration file contains one or more hashes which can then be used in each tool.
1. The configuration files are becoming way too huge. It seems like we try to configure everything. How much is too much?
2. If you change the configuration file data structure, you may affect multiple tools and not just the one you're updating.
A few of my many problems:# configs_topic.pl package Configs; %some_hash = ( key1 => "value1", key2 => { key3 => 'value2', } ); # my tool require "configs_topic.pl"; my $value = $Configs::some_hash{key1};
1. The configuration files are becoming way too huge. It seems like we try to configure everything. How much is too much?
2. If you change the configuration file data structure, you may affect multiple tools and not just the one you're updating.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Toolset configuration
by Tanalis (Curate) on Jul 29, 2005 at 07:31 UTC | |
Re: Toolset configuration
by themage (Friar) on Jul 29, 2005 at 12:36 UTC | |
Re: Toolset configuration
by anonymized user 468275 (Curate) on Jul 29, 2005 at 07:52 UTC | |
Re: Toolset configuration
by Anonymous Monk on Jul 29, 2005 at 08:59 UTC |
Back to
Seekers of Perl Wisdom