in reply to DBI database connection support and more
So, for our credit card payment processing system, the config file lives in an environment variable called MERCHANT_CONFIG_FILE, which might then contain:
Then parse it with something like Config::IniFiles and you're good to go. Of course, this can be applied to more than just database connections.[Database] username = bradb password = god hostname = foo database = bar
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI database connection support and more
by DapperDan (Pilgrim) on Sep 21, 2003 at 16:06 UTC |