http://www.perlmonks.org?node_id=981605


in reply to Re^3: How to make changes in yaml file thorugh perl
in thread How to make changes in yaml file thorugh perl

YAML::XS's Load function turn a YAML string into a perl data structure. So you modify those like any other data structure i Perl. And then you call Dump to create a YAML string from it again.

Which part are you having trouble with?