Re: [Catalyst] Where best to store database connection information?

2015-02-17 Thread abhishek jain
Hi, But this seems a bit of a security problem having the main password in a text file like this, especially if it goes into git. What i do is i will modify the password on production manually and successive update / pull will not modify the password, and i will also not commit the

Re: [Catalyst] Where best to store database connection information?

2015-02-17 Thread Shantanu Bhadoria
I generally store my config files in /etc/app_name/config.yml and then I use MooseX::Singleton to store and YAML::XS to load the config data from the yml into the app in app_name.pm HTH, -Shantanu Bhadoria On Tue, Feb 17, 2015 at 11:09 PM, Hartmaier Alexander alexander.hartma...@t-systems.at

Re: [Catalyst] Where best to store database connection information?

2015-02-17 Thread Hartmaier Alexander
Note that Catalyst itself doesn't use any config loading, Catalyst::Plugin::ConfigLoader does. This then uses different config file format modules depending on the file extension. On 2015-02-16 18:10, Octavian Rasnita wrote: Catalyst uses Config::General to read .conf files. If Config::General