From 5ff248f248d5413f52ea714c9b6b7c931a8b58bb Mon Sep 17 00:00:00 2001 From: Jeff Ober Date: Tue, 21 Jan 2020 12:28:39 -0500 Subject: [PATCH] Document options differing from TOML module in DIFFERENCES section of POD --- README.pod | 3 +++ lib/TOML/Tiny.pm | 3 +++ 2 files changed, 6 insertions(+) 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 -- 2.30.2