in reply to How to make changes in yaml file thorugh perl
Given that a well-defined and well-tested API exists that is known to work both ways ... do not use anything else.