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

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

Bug Information
Severity: Important
Broken in: 0.68
Fixed in: 1.20



Subject: YAML trips over '>' in hash key
YAML 0.68 doesn't handle hash keys starting with a '>' character correctly. In this example, Load() can't parse the output of a previous Dump(): use YAML qw(Dump Load); my $data = [{ ">" => 123 }]; my $string = Dump( $data ); Load( $string ); yields: YAML Error: Couldn't parse single line value Code: YAML_PARSE_ERR_SINGLE_LINE Line: 2 Document: 1
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/94 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.
fixed in 1.20