YAML::PP::Preserve

# Without preserving % echo '--- ref: &alias - 23 - 24 z: [a, "b", c] y: 2 x: *alias literal: | line 1 line 2 ' | yamlpp-load-dump -P0 --- literal: | line 1 line 2 ref: &1 - 23 - 24 x: *1 y: 2 z: - a - b - c
Preserving order, alias names, quoting, flow style % echo '--- ref: &alias - 23 - 24 z: [a, "b", c] y: 2 x: *alias literal: | line 1 line 2 ' | yamlpp-load-dump --- ref: &alias - 23 - 24 z: [a, "b", c] y: 2 x: *alias literal: | line 1 line 2
Slide 29/46 BACK UP NEXT next: ( space / -> / page up ) | previous: ( backspace / <- / page down ) | next page: ( shift + page down ) | previous page: ( shift + page up ) | index: ( arrow-up )