YAML::PP - YAML 1.1 & 1.2
my $yp = YAML::PP->new( yaml_version => [1.2, 1.1] );
# Load as YAML 1.2
---
a: true
# Load as YAML 1.1
%YAML 1.1
---
a: yes
my $yp = YAML::PP->new( yaml_version => [1.1, 1.2] );
# Load as YAML 1.1
---
a: yes
# Load as YAML 1.2
%YAML 1.2
---
a: true