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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-10148-1470129351-1037.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 527
Download (untitled) / with headers
text/plain 527b
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.
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-16330-1494492858-531.116654-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 73
Ticket migrated to github as https://github.com/toddr/YAML-Syck/issues/25


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.