You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Migrated from rt.cpan.org#116654 (status was 'new')
Requestors:
From [email protected] on 2016-08-02 09:15:51:
The text was updated successfully, but these errors were encountered: