Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 39552
Status: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.66
Fixed in: (no value)



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,
Just to keep it evident: the bug was lifted by *wrong* bugreport #39528.
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/91 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
At some point the YAML directive for 1.0 started with a # sign, so this is not a comment. Closing