Open rwp0 opened 2 years ago
Hi,
this is indeed a great idea. I'll look into it as soon I find the time.
Hi,
this is indeed a great idea. I'll look into it as soon I find the time.
Thanks.
Has there been any progress on this since?
Sorry, not yet...
Thank you for this module, it's useful as a general-purpose config parser. I especially like the
::Extended
interface.One thing I noticed, it doesn't preserve the quotes around values even while all the values are having quotes.
For example, parsing FreeBSD rc.conf file which is basically Bourne shell value-to-variable assignments:
The module removes the double quotation marks leaving this snippet as:
Which makes the Unix shell fail to read them.
It could be useful if we had an option switch passed to the
new
method in order to quote all values, let's say as-QuoteValues=1
.We can also have
-QuoteType
as double (""
) or single (''
), but that's extra.Thanks