Bug#880368: YAML::XS::Load expects utf8 octets, not perl's encoding; use slurp_raw

Dominique Dumont dod at debian.org
Fri Dec 20 15:33:18 GMT 2019


On Thursday, 19 December 2019 10:18:12 CET Dominique Dumont wrote:
> provided
> $YAML::XS::LoadBlessed is set to 0, which is not a problem for cme

Surprise.. 

Thanks to this test [1], it turns out that setting LoadBlessed with 
a local does not work (i.e. "local $YAML::XS::LoadBlessed = 0;").

Only "$YAML::XS::LoadBlessed = 0" without local disables the feature that
loads blessed objects. 

Which means I need to rework Config::Model::Backend::YAML :-/

All the best

[1] https://salsa.debian.org/perl-team/modules/packages/libconfig-model-dpkg-perl/commit/481b3df20f23d24e8021c4f100d66fe4c52fbabb



More information about the pkg-perl-maintainers mailing list