in reply to DATA versus config file

Your thoughts are valid. Just one point on the side of an external file: with an external file you could have a list of files (or directories) that have to be checked every hour, and another list of files that have to be checked every 15 minutes - and they would both be used by the same program. If you put the data into the DATA you can only use the program for one purpose. It goes against the concept of small, reusable tools.

Replies are listed 'Best First'.
Re: Re: DATA versus config file
by nimdokk (Vicar) on May 18, 2004 at 13:31 UTC
    Thats a good point. Right now it is configured to use only one config file, but it wouldn't be too difficult to add in some added functionality that could account for other config files based on time or something like that. I'm just trying to keep this reasonably simple but flexible enough to be changed in the future as unforeseen needs come up.