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

People
Owner: Nobody in particular
Requestors: m.s.meindertsma [...] worldonline.nl
Cc:
AdminCc:

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



Subject: Spaces in Writer.pm
Date: Fri, 21 Dec 2007 16:00:57 +0100
To: <bug-Data-YAML [...] rt.cpan.org>
From: "Meindertsma-Leopold" <m.s.meindertsma [...] worldonline.nl>
Download (untitled) / with headers
text/plain 481b
Hi, This concerns Data-YAML-0.0.5, the Writer.pm 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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.