Subject: | Comment in line one throws YAML_PARSE_WARN_BAD_MINOR_VERSION |
perl -wle 'use YAML 0.66; YAML::Load "--- #YAML:1.4\nfoo: bar\n"'
YAML Warning: Parsing a 1.4 document with a 1.0 parser
Code: YAML_PARSE_WARN_BAD_MINOR_VERSION
Line: 2
Document: 1
at /home/src/perl/repop........
The string "#YAML:..." is afaiu a comment, so should not cause a warning
to be issued.
Thanks,