Skip Menu |

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

Report information
The Basics
Id: 116654
Status: resolved
Priority: 0/
Queue: YAML-Syck

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

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



Subject: Parse error with inline arrays without space after comma
The following YAML document may be parsed by YAML.pm and YAML::XS, but fails with YAML::Syck: $ cat bla.yaml --- ports: ['*:80','*:443'] $ ysh -MYAML < bla.yaml $VAR1 = { 'ports' => [ '*:80', '*:443' ] }; $ ysh -MYAML::XS < bla.yaml $VAR1 = { 'ports' => [ '*:80', '*:443' ] }; $ ysh -MYAML::Syck < bla.yaml Syck parser (line 2, column 22): syntax error at /opt/perl-5.18.4/lib/site_perl/5.18.4/x86_64-linux/YAML/Syck.pm line 75, <STDIN> line 2. Adding a space after the comma fixes the problem.
Ticket migrated to github as https://github.com/toddr/YAML-Syck/issues/25