Skip Menu |

This queue is for tickets about the P CPAN distribution.

Report information
The Basics
Id: 89064
Status: resolved
Priority: 0/
Queue: P

People
Owner: pause [...] tlinx.org
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: nearly-numeric string loses newline
Date: Mon, 30 Sep 2013 14:09:01 +0100
To: bug-P [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
P loses the fact that a string contains a newline if it's close enough to being numeric: $ perl -we 'use P; P "%s", ["2.3\n"]' [2.30] Contrast with the preservation of the newline in a similar case: $ perl -we 'use P; P "%s", ["2.a\n"]' ["2.a "] -zefram
Fixed in v1.1.0