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

support .toml files with -toml_compat (like -php_compat) #8

Closed
Sadrak opened this issue Dec 12, 2019 · 4 comments
Closed

support .toml files with -toml_compat (like -php_compat) #8

Sadrak opened this issue Dec 12, 2019 · 4 comments

Comments

@Sadrak
Copy link
Contributor

Sadrak commented Dec 12, 2019

We are using Config::IniFiles for many years and would like to use also .toml-files. After some first tests it would be easy to allow a -toml_compat to respect some .toml specific syntax (not all).

Would you accept such a feature?

I guess one bigger problem would be the multi-section possibility from .toml-files, which -toml_compat simple won't support.

@shlomif
Copy link
Owner

shlomif commented Dec 12, 2019

@Sadrak : I feel that one should use a more TOML-oriented API to read and write TOML files properly, and trying to adapt C::IniFiles for that would be a https://en.wikipedia.org/wiki/False_friend and misleading and possibly destructive. What do you think?

@shlomif
Copy link
Owner

shlomif commented Feb 3, 2020

@Sadrak : hi, what do you think?

@Sadrak
Copy link
Contributor Author

Sadrak commented Feb 4, 2020

Yeah, I understand this absolutly and was thinking about a Config::TomlFiles module with exact the same behavior but toml as fileformat. Simple this feature would be only usefull for our case and feels like a false friend.

@Sadrak Sadrak closed this as completed Feb 4, 2020
@shlomif
Copy link
Owner

shlomif commented Feb 4, 2020 via email

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

No branches or pull requests

2 participants