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

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

Bug Information
Severity: (no value)
Broken in: 0.84
Fixed in: 1.10



Subject: Unhelpful parse error message "Died." when spaces and tabs are mixed
$ wget http://moritz.faui2k3.org/files/test.yaml [...] 2012-11-07 13:20:23 (3.07 MB/s) - `test.yaml' saved [45/45] $ perl -MYAML=LoadFile -e 'LoadFile "test.yaml"' Died at /home/mlenz/perl5/lib/perl5/YAML/Loader.pm line 674, <$IN> line 1. On its third line, the test file has a few spaces, followed by a tab, followed by more spaces. Instead of the "inconsistent indention error" that I'd expected, it dies in a totally unhelpful way. The test file is also attached, in the hope that RT won't mangle the spaces and tabs.
Subject: test.yaml
- heading: - name: - id: c
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/128 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.
This was fixed in 1.10. See also RT12770