Skip Menu |

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

Report information
The Basics
Id: 58782
Status: open
Priority: 0/
Queue: YAML-Tiny

People
Owner: Nobody in particular
Requestors: Yves.Raimond [...] bbc.co.uk
Cc:
AdminCc:

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



Subject: YAML boolean unsupported
Date: Thu, 24 Jun 2010 15:47:19 +0100
To: bug-YAML-Tiny [...] rt.cpan.org
From: Yves Raimond <Yves.Raimond [...] bbc.co.uk>
Hello! I am using YAML Tiny 1.40 with perl 5.10.1, and am having an issue with parsing YAML booleans. I've seen in the 1.40 changelog that it was supposed to be fixed in 1.40, but it doesn't appear to be - booleans are still parsed as strings. For example, the following bit of code: use YAML::Tiny; $yaml = YAML::Tiny::Load("a: True\n"); use Data::Dumper; print STDERR Dumper($yaml); is outputting: $VAR1 = { 'a' => 'True' }; where I would expect: $VAR1 = { 'a' => 1 }; Many thanks, Yves