go ahead... be a heretic | |
PerlMonks |
Re: Substituting tokens into configuration valuesby zby (Vicar) |
on Mar 20, 2003 at 13:34 UTC ( [id://244582]=note: print w/replies, xml ) | Need Help?? |
For me the simplest approach to configuration files is to use perl syntax - and than directly build the datastructures by an eval. The substitution problem would be solved by an asignemnt in the built datastructure - something like this:
Where the $general-schedule-config was built by an eval as well.
In Section
Seekers of Perl Wisdom
|
|