> In the recent best practices document that Mark started, he mentions > configuration information that is global, i.e. is needed by more than > one cgi script. What CPAN configuration modules are people using in > their CGI::Apps? John, I think the optimal answer here depends on what kind of user you are targeting to configure the application. I use a simple ".pm" module that contains regular Perl with comments. This works great for me. Usually I'm just defining "key = value" relations in a %CFG hash. However, in a few cases where I want to do something more complicated, I have the full power of Perl to use, and I know the syntax already. :) Sometimes I dream of having a web-based configuration tool for applications, which could necessitate having some other config file format, or perhaps storing everything in a database (except the databse connection options...). -mark http://mark.stosberg.com/ --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/suppressed/ To unsubscribe, e-mail: suppressed For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.