Subject: | the "-" character as part of the indentation. |
YAML.pm 0.62 cannot parse block with reading "-".
YAML 1.1 spec (http://yaml.org/spec/cvs/current.html#id931901) say:
Show quoted text
> People read the "-" character as part of the indentation.
> Hence, block sequence entries require one less space of
indentation, ...
---
YAML Version 0.62
Begin logging at Fri Mar 30 18:16:24 2007
Welcome to the YAML Test Shell. Type ':help' for more information.
ysh > ---
Show quoted textyaml> block:
yaml> - seq
yaml> ...
YAML Load Failed:
YAML Error: Invalid element in map
Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
Line: 3
Document: 1