Skip Menu |

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

Report information
The Basics
Id: 31804
Status: resolved
Priority: 0/
Queue: Data-YAML

Owner: Nobody in particular
Requestors: m.s.meindertsma [...]

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

Subject: Spaces in
Date: Fri, 21 Dec 2007 16:00:57 +0100
To: <bug-Data-YAML [...]>
From: "Meindertsma-Leopold" <m.s.meindertsma [...]>
Download (untitled) / with headers
text/plain 481b
Hi, This concerns Data-YAML-0.0.5, the module. my $ESCAPE_CHAR = qr{ [ \x00-\x1f \" ] }x will find spaces too, as the x modifier doesn't neutralize the spaces between the square brackets (Perl v.5.8.8 for MSWin32-x86-multi-thread). Consequence: strings containing a space are double-quoted by _enc_scalar. I think the intention was to single-quote them (last if statement in _enc_scalar). Not a very serious affair, but nevertheless... Greetings, Meindert Meindertsma.
Fixed in 0.0.6, thanks!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to