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: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: cornucopia [...] gmx-topmail.de
Cc:
AdminCc:

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



Subject: YAML can't parse comments after single-line lists or hashes
Date: Sun, 26 Oct 2014 12:03:16 +0100
To: bug-YAML [...] rt.cpan.org
From: cornucopia [...] gmx-topmail.de
$ 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/Loader.pm line 147. No problem with YAML::XS: $ perl -MYAML::XS -E 'say $YAML::XS::VERSION; YAML::XS::Load("foo: [bar] # comment\n")' 0.41
Fixed in 1.24_001