I'd first recommend taking a look at the other config modules on CPAN and see if there's one that you can merge some of this functionality with. See http://search.cpan.org/search?query=config&mode=dist -- there are plenty of existing configuration modules, and you may benefit from building on top of a module that has a wider, existing user/support base.
Take Config::General for example (http://search.cpan.org/author/TLINDEN/Config-General-2.15/General.pm). It's similar to what you describe -- "simple assignments with multi-lines value and nested lists, and has very few restrictions on the data". I could see you tacking on the HTML::Template functionality as Config::General::HTMLTemplate, or something like that. Just a thought... If you still decide to branch out on your own, I'd recommend sticking with the Config:: namespace, given that that's where all/most of the modules with similar functionality are. --Ade. On Thu, 2003-02-27 at 19:56, S�bastien Aperghis-Tramoni wrote: > Hello, > > The FAQ on CPAN suggests to come here to discuss namespace issues > before submitting new modules, so here I am. > > I'd like to submit the module Data::Config, which use is to read > generic configuration files. The syntax can be completely changed to > fit any and all needs. It support simple assignments with multi-lines > value and nested lists, and has very few restrictions on the data. Its > object oriented API is compatible with modules like CGI or > HTML::Template, and can be safely associate()d with this last one. > > I use it with HTML::Template to create my web sites, and also my > Japanese to French dictionary. It's also used in my company in one or > two projects. It may also be used by a few other people but I can't > tell how many. > > Data::Config is currently available on my web site: > http://maddingue.org/softwares/data-config.html > > Thanks in advance for your suggestions. > > > S�bastien Aperghis-Tramoni > -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ]
