YAML.pm - Add $YAML::Preserve
Setting $YAML::Preserve will keep the order of hash keys
use YAML; $YAML::Preserve = 1; my $yaml = <<'EOM'; z: 1 a: 2 y: 3 EOM my $data = Load $yaml; print Dump $data; __END__ z: 1 a: 2 y: 3
Slide 34/88
BACK
UP
NEXT
next: ( space / -> / page up ) | previous: ( backspace / <- / page down ) | next page: ( shift + page down ) | previous page: ( shift + page up ) | index: ( arrow-up )