[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Global configuration





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
suppressed
414.524.4025


                                                                                                              
                      suppressed                                                                        
                      om                       To:      suppressed                              
                                               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/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed





---------------------------------------------------------------------
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.