YAML-PP-p5 icon indicating copy to clipboard operation
YAML-PP-p5 copied to clipboard

A YAML 1.2 processor in perl

Results 18 YAML-PP-p5 issues
Sort by recently updated
recently updated
newest added

As of 0.0016 dump string actually cares what the internal UTF8 flag of a scalar is set to and behaves differently depending on what state it is in. Perl's current...

bug

Currently a regex serialized in a recent perl version can not always be loaded in perl < 5.14. Example: `(?^u:regex)` Just removing the `^u` can lead to wrong results (`qr{\w}u`...

enhancement

Hello! In some cases it is needed to distinguish in YAML between number stored as string literals (number in single or double quotes) and number stored as number (without quotes)....

**First description:** https://github.com/perlpunk/YAML-PP-p5/blob/78a05060ad2865ef84595c60d186f71dec85b254/lib/YAML/PP/Schema/Binary.pm#L77-L81 `encode_base64()` is a function: {0x00..0xFF}ᴺ →{0x2B, 0x2F, 0x30..0x39, 0x41..0x5A, 0x61..7A}ᴹ So YAML::PP::Schema::Binary obviously cannot take string which contains {0x000100..0x10FFFF}. Binary data are defined as stream of octets,...

So yeah, this is an anti-issue - I discovered recently that JSON is "a subset of YAML 1.2"; and then discovered YAML::PP. In short: Thank you. YAML::PP doesn't bomb on...

YAML::XS style seems better. ``` ★ ~/src/+pegex-parser/pegex-json-pm master $ perl -Mboolean -MYAML::PP -E 'say YAML::PP->new(schema => ['Perl'])->dump_string(true)' --- !perl/scalar:boolean =: 1 ★ ~/src/+pegex-parser/pegex-json-pm master $ perl -Mboolean -MYAML::XS -E 'say...

These are some test cases before I start trying to develop "Catchalls" for tags. I thought that these tests are good to have for when you consider the resolvers API...

Currently the Dumper goes recursively through the data structure. This can use a lot of memory for deeply nested structures.