Skip Menu | will be shut down on March 1st, 2021.

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: 29679
Status: open
Priority: 0/
Queue: YAML

Owner: Nobody in particular
Requestors: ANDK [...]
Cc: FLORA [...]

Bug Information
Severity: Important
Broken in:
  • 0.62
  • 0.63
  • 0.65
  • 0.66
Fixed in: (no value)

CC: FLORA [...]
Subject: anchors and aliases: parser error on a map
Download (untitled) / with headers
text/plain 584b
Maybe the same bug as 29678 but maybe not. YAML trips over an anchor for a map. YAML::XS has a different bug (will report over there). YAML::Syck behaves OK. % cat anchor_and_alias_04.yml --- pl: &pl_or_make eexpect: timeout: 5 % ysh -MYAML < anchor_and_alias_04.yml YAML Error: Expected separator '---' Code: YAML_PARSE_ERR_NO_SEPARATOR Line: 3 Document: 2 at [...] % ysh -MYAML::XS < anchor_and_alias_04.yml $VAR1 = { 'pl' => $VAR1 }; % ysh -MYAML::Syck < anchor_and_alias_04.yml $VAR1 = { 'pl' => { 'eexpect' => { 'timeout' => '5' } } };
Whitespace gone, attachment shows the exact file content
--- pl: &pl_or_make eexpect: timeout: 5
Download (untitled) / with headers
text/plain 246b
This issue has been copied to: 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 service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to