|Syntactic Confectionery Delight|
Re: Config files in CPAN modules?by fmerges (Chaplain)
|on Jul 22, 2006 at 10:50 UTC||Need Help??|
Normally what I do is asking the user to provide the configuration, could be the config itself, or the path to the configuration file:
This way it's up to the users script to decide which method he uses to provide the modules with the configuration settings.
Or going for well known places where the config files should be (linux -> /etc or /usr/local/etc) could be with subdir for the application itself or so; or the other way is to create a hierarchy for the application itself:
But the most important thing of all is to DOCUMENT it. So that the user know how he must do instead of figuring it out. ;-)
fmerges at irc.freenode.net