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