Skip Menu |

This queue is for tickets about the YAML-Tiny CPAN distribution.

Report information
The Basics
Id: 104866
Status: new
Priority: 0/
Queue: YAML-Tiny

People
Owner: Nobody in particular
Requestors: bpj [...] melroch.se
Cc:
AdminCc:

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



Subject: Unquoted tilde becomes literal tilde (not undef) if there is a comment on the same line
Date: Tue, 02 Jun 2015 14:53:10 +0200
To: bug-YAML-Tiny [...] rt.cpan.org
From: BP Jonsson <bpj [...] melroch.se>
Unquoted tilde becomes literal tilde (not undef) if there is a comment on the same line. Bug or feature? use YAML::Tiny qw[ Load ]; use Data::Dump qw[ dd ]; dd $YAML::Tiny::VERSION; for my $yaml ( qq{foo: ~\n# Comment}, qq{foo: ~ # Comment} ) { dd $yaml; dd Load( $yaml ); } # 1.67 # "foo: ~\n# Comment" # { foo => undef } # "foo: ~ # Comment" # { foo => "~" } /bpj