Project

General

Profile

action #71251

Updated by tinita over 4 years ago

The YAML spec says YAML Loaders should forbid duplicate mapping keys. 

 Until now, YAML::Tiny YAML::Tidy is the only Perl module implementing that. Modues like YAML::XS, YAML.pm, YAML::Syck and also several implementations in other languages like PyYAML just ignore it and override the previous key. 

 But automatically detecting duplicate keys can be useful if the YAML mapping is so long it doesn't fit in your editor.

Back