<div dir="ltr">Hi,<div><br></div><div>In <a href="https://metacpan.org/pod/Dancer2::Config" target="_blank">https://metacpan.org/pod/Dancer2::Config</a> I see plugins should</div><div>have their configuration in</div><div><br></div><div>plugins:</div><div> plugin-name:</div><div> key: value</div><div><br></div><div>but I have not found any suggestion where should one put the application-specific configuration options.<br></div><div><br></div><div>Is there a recommended, or required hierarchy for those configuration values?</div><div>Maybe:</div><div><br></div>applications: <br> "App::Name":<br> key: "value"<br><br><br><br><br><div>Oh an I think it would be also good, to add an example to that pod, showing how to fetch configuration values:</div><div><br></div><div>config->{appdir}</div>config->{plugins}{DBIC}{default}{dsn};<div><br></div><div>and</div><div><br></div><div>config->{applications}{'App::Name'}{key}<br><div><br></div><div>regards</div><div> Gabor<br></div><div><br></div><div>
</div></div></div>