YAML.pm - Empty mapping value at the end
- Empty mapping value at the end resolved to empty string instead of undef
use YAML;
my $yaml = <<'EOM';
---
foo1:
foo2:
EOM
# Before ==> { 'foo1' => undef, 'foo2' => '' }
# After ==> { 'foo1' => undef, 'foo2' => undef }