Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canonical way to read in config file? #29

Open
djzort opened this issue Jun 8, 2017 · 2 comments
Open

Canonical way to read in config file? #29

djzort opened this issue Jun 8, 2017 · 2 comments

Comments

@djzort
Copy link
Contributor

djzort commented Jun 8, 2017

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)

@khrt
Copy link
Owner

khrt commented Jun 18, 2017

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?

@djzort
Copy link
Contributor Author

djzort commented Jun 19, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants