I am using Config::IniFiles with a cusom (read - local unreleasable code)
that allows me to create an INI file path.  This wrapper gets a parameter
from a PATH of configuration files, including a Default file, allowing you
to apply application required, user overridden, and default configuration
values.  One call then pulls the appropriate value from this set of files.

If you change an application from a test to a production database, for
example, you just need to override the search path to use the production
DBI connection strings.

Brian
----
Brian T. Wightman
[EMAIL PROTECTED]
414.524.4025


                                                                                       
                       
                      [EMAIL PROTECTED]                                                 
                       
                      om                       To:      [EMAIL PROTECTED]       
                       
                                               cc:                                     
                       
                      12/24/02 01:30           Subject: [cgiapp] Global configuration  
                       
                      PM                                                               
                       
                                                                                       
                       
                                                                                       
                       




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?

thanks,

-john


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to