in reply to XML for Dummies
Write a bash script that does nothing but set these 8-10 variables. Modify your existing bash scripts to source this new configuration script. Write a Perl function to parse this configuration script. Put that in a library, and in all of your Perl scripts load that library and call that function.
Now you're done in the simplest manner possible. And the next person who has to pick up your code should find it easy to understand.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML for Dummies
by massa (Hermit) on Jul 12, 2008 at 09:21 UTC | |
by tilly (Archbishop) on Jul 12, 2008 at 14:09 UTC | |
by massa (Hermit) on Jul 12, 2008 at 15:14 UTC | |
by tilly (Archbishop) on Jul 12, 2008 at 15:39 UTC |