and let me know how you feel database connections should be cataloged
I don't think that there is "a" way. Depends on your application. Treating the DBI specific configuration information separately from the rest of your applications configuration options seems counterproductive to me
I usually put DBI info wherever the rest of the applications configuration information lives. A YAML file has been a recent popular choice.
Using the environment variables DBI_DSN, DBI_USER and DBI_PASS can be another useful way of passing the info in - and has the advantage of being built into DBI.
In reply to Re: DBI database connection support and more
by adrianh
in thread DBI database connection support and more
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |