in reply to How to make changes in yaml file thorugh perl
use YAML qw(LoadFile DumpFile); my $ref = LoadFile 'name'; $ref->{modify} = 'something'; DumpFile 'name', $ref; [download]