Sorry if this is a
dumb question, but I have read through some of the documentation and a couple
months of archives and couldn't really see anything.
Two
questions
1. I am
wondering about a good way to handle conf files. I would like to be able
to do something like this
--index.html
[% conf = INCLUDE
values.conf %]
...
bgcolor = [%
conf.bgcolor %]
...
--values.conf
[%
{
bgcolor =>
'white',
}
%]
2. I would
like to have key fallback on conf files. So tt will keep processing conf
files till it finds my key. Then I could do something like
this
--/tmp/over/values.conf
lots of values
including bgcolor = white
--/tmp/default/values.conf
only the value
bgcolor = white
then my INCLUDE_PATH
looks like ['/tmp/over', '/tmp/default']. Otherwise, it sure seems like I
would have to duplicate the default conf, in which case I have information in
two different places, which I am not a fan of. The best I could come up
with is to have the overriding conf file include the default conf file, but it
would have to use full path to do so, since the overriding conf wins on the
fallback.
Thanks,
Earl
