Skip Menu |

This queue is for tickets about the IO-YAML CPAN distribution.

Report information
The Basics
Id: 29483
Status: resolved
Priority: 0/
Queue: IO-YAML

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

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



Subject: Leading comment is parsed as separate document
In http://perlmonks.org/?node_id=639724 I detail the problem and my use case. My stream starts with a comment and is then 40MB of YAML documents, all leading with the --- document start and w/o the ... terminator. IO::YAML parses the leading comment as a separate document: # this is a comment --- ~ My reading of the YAML spec says the comment is part of the document that immediately follows it.
Fixed in 0.07 (now on its way to CPAN). Thanks for reporting this!