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: 99813
Status: new
Priority: 0/
Queue: YAML

Owner: Nobody in particular
Requestors: cornucopia [...]

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

Subject: YAML can't parse comments after single-line lists or hashes
Date: Sun, 26 Oct 2014 12:03:16 +0100
To: bug-YAML [...]
From: cornucopia [...]
Download (untitled) / with headers
text/plain 356b
$ perl -MYAML -E 'say $YAML::VERSION; YAML::Load("foo: [bar] # comment\n")' 1.13 YAML Error: Couldn't parse single line value Code: YAML_PARSE_ERR_SINGLE_LINE Line: 1 Document: 1 at /usr/share/perl5/YAML/ line 147. No problem with YAML::XS: $ perl -MYAML::XS -E 'say $YAML::XS::VERSION; YAML::XS::Load("foo: [bar] # comment\n")' 0.41

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to