Perl x Open Food Facts Hackathon: Paris, France - May 24-25 Learn more

Revision history for Config-EnhancedJSON
0.01 08-09-2023 / 17:20
First version, released on an unsuspecting world.
0.02 08-09-2023 / 23:30
Subroutine config2perl is exported by default,
fixed test files which import it during loading.
0.03 26-09-2023 / 00:00
-Added the ability for the user to use
custom comment style by specifying
an opening and, optionally, a closing comment
string. By adding a new
comment style: 'custom()()'.
-Added the ability for the user to specify
if comments within strings
(keys or scalar string values in the JSON) should
be retained or removed. By adding a new
optional parameter 'remove-comments-in-strings'
to sub 'config2perl()'.
-Added the ability for the user to increase
verbosity of sub 'config2perl()'.
The verbatim sections are checked for
templated variables but do not have
any comments contained in them to be
replaced. All comments in Verbatim Sections
are now left as they are.
-Added the ability for the user to select
tags for denoting variables and verbatim sections,
the default value is '<%' and '%>'.
-Made documentation's SYNOPSIS clearer.
-Added 'META_MERGE' key in Makefile.PL.
0.04 26-09-2023 / 03:00
Aesthetic enhancements.
0.06 26-09-2023 / 11:30
-Added more test files to check propgram
behaviour when dealing with comments.
-Some pod enhancements.
0.07 27-09-2023 / 20:00
-Added more tests
0.08 28-09-2023 / 14:41
-Changed the regex for identifying comments, variables,
verbatime sections to no need escaping special regex characters.
-Added one more test for testing tags of comments, variables, etc.