Raisin
Raisin copied to clipboard
Canonical way to read in config file?
Is there a canonical way for Raisin apps to read in their config file?
Many other frameworks provide this type of support, making life easier (or annoying you, if you dont like they way they do it)
I don't mind of config files but I just have no idea what do you want to configure. Do you want to configure a framework or your application?
In my case, i want to inject database credentials rather than hardcoding them.
Obviously its not hard to call on Config::Any or similar, however I am curious if there is boilerplate functionality included.
Web frameworks such as the big three (catalyst, mojo and dancer) all have config file functionality built in, such that i can drop values in and access them in a standard way.