convert between Perl data structures, YAML and JSON with unicode support (I believe ...)
Changes for 0.28 - 2024-04-08T18:00:00Z
- Test file "t/12-from-file.t", at very few times, fails (under M$) because comparing a data structure fails on comparing two floats which must be the same and are the same except the last decimal digit. As from this version, the floats in the test data for this particular test is shorten to max 4 decimal places. These subs: dump2perl, dump2json, dump2yaml and dump2dump are, from now, not exported by default neither they are part of any export tag-group (they used to be in the ':dump' tag-group) These subs must now be explicitly imported. The reason is that 'dump2perl' (and the rest use this) is eval'ing its input which may come from user. Eval'ing (unchecked) user input is considered a security problem. These subs will not be removed but be imported by specific caller request. Test "t/04-dump2-use-is-explicit.t" has been added to check that these subs are not exported by default.