<div dir="ltr"><div>(Apologies for the accidental post)</div><div><br></div>To answer my own question, the easiest thing is to use app->load_config_file(...) and merge the settings into the app config.<div><br></div><div><br></div><div>On 22 July 2015 at 15:41, Amelia Ireland <<a href="mailto:aireland@lbl.gov">aireland@lbl.gov</a>> wrote:<br>><br>> To answer my own question, the easiest thing is probably going to be for me to call<br>><br>> ----------------------------------------------------------------------<br>>><br>>><br>>> Message: 1<br>>> Date: Tue, 21 Jul 2015 11:07:24 -0700<br>>> From: Amelia Ireland <<a href="mailto:aireland@lbl.gov">aireland@lbl.gov</a>><br>>> To: <a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>>> Subject: [dancer-users] Multiple config files for Dancer2 app<br>>> Message-ID:<br>>>         <<a href="mailto:CAEWSiHi-JDpm-aQz1s-Tk4ZT5xuZcqDUhJ0hP19U9a9fey%2Bf2w@mail.gmail.com">CAEWSiHi-JDpm-aQz1s-Tk4ZT5xuZcqDUhJ0hP19U9a9fey+f2w@mail.gmail.com</a>><br>>> Content-Type: text/plain; charset="utf-8"<br>>><br>>><br>>> Hello all,<br>>><br>>> Is there a recommended method for using multiple configuration files for a<br>>> Dancer2 application in addition to the config.xxx and<br>>> development.xxx/production.xxx files? My app uses a couple of databases<br>>> with passwords that are changed on a regular basis, and I'd like to be able<br>>> to drop DB config files into the environments folder and have them<br>>> automatically included rather than having to edit config files by hand or<br>>> regenerate them by script. If there's something that already exists that I<br>>> can use, that would be great!<br>>><br>>> Thanks!<br>>> Amelia.<br>>> -------------- next part --------------<br>>> An HTML attachment was scrubbed...<br>>> URL: <<a href="http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150721/d3300e26/attachment-0001.html">http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150721/d3300e26/attachment-0001.html</a>><br>>><br>>> ------------------------------<br>>><br>>> Subject: Digest Footer<br>>><br>>> _______________________________________________<br>>> dancer-users mailing list<br>>> <a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>>> <a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>>><br>>><br>>> ------------------------------<br>>><br>>> End of dancer-users Digest, Vol 65, Issue 10<br>>> ********************************************<br>><br>><br></div></div>