in reply to Re^2: A fix for merge keys in YAML::XS, YAML::Syck
in thread A fix for merge keys in YAML::XS, YAML::Syck

I wrote:

The original version may fail to merge keys if the merged hash is a sibling of the merging hash and itself merges a sibling. Success or failure then depends on the order in which hash values are returned by keys()!

That should have read:

The original version of mergekeys_loop() may fail to merge keys if the merged hash is a sibling of the merging hash and itself merges a sibling. Success or failure then depends on the order in which hash values are returned by values()!

Sorry!

  • Comment on Re^3: A fix for merge keys in YAML::XS, YAML::Syck