From: Jeff Ober Date: Tue, 21 Jan 2020 17:28:39 +0000 (-0500) Subject: Document options differing from TOML module in DIFFERENCES section of POD X-Git-Tag: nailing-cargo/1.0.0~234^2~5 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5ff248f248d5413f52ea714c9b6b7c931a8b58bb;p=nailing-cargo.git Document options differing from TOML module in DIFFERENCES section of POD --- diff --git a/README.pod b/README.pod index b65a11d..8032567 100644 --- a/README.pod +++ b/README.pod @@ -195,6 +195,9 @@ the exception of permitting heterogenous arrays (illegal in v4 and v5, but permissible in the upcoming v6); optional enforcement of homogenous arrays is supported with C. +C supports a number of options which do not exist in L: +L, L, and L. + C ignores invalid surrogate pairs within basic and multiline strings (L may attempt to decode an invalid pair). Additionally, only those character escapes officially supported by TOML are interpreted as such by diff --git a/lib/TOML/Tiny.pm b/lib/TOML/Tiny.pm index 7f3a493..8025252 100644 --- a/lib/TOML/Tiny.pm +++ b/lib/TOML/Tiny.pm @@ -252,6 +252,9 @@ the exception of permitting heterogenous arrays (illegal in v4 and v5, but permissible in the upcoming v6); optional enforcement of homogenous arrays is supported with C. +C supports a number of options which do not exist in L: +L, L, and L. + C ignores invalid surrogate pairs within basic and multiline strings (L may attempt to decode an invalid pair). Additionally, only those character escapes officially supported by TOML are interpreted as such by