Mon Sep 30 09:09:23 2013zefram [...] fysh.org - Ticket created
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
Tue Nov 05 23:44:25 2013pause [...] tlinx.org - Correspondence added
Fixed in v1.1.0
Tue Nov 05 23:44:25 2013The RT System itself - Status changed from 'new' to 'open'
Tue Nov 05 23:44:26 2013pause [...] tlinx.org - Status changed from 'open' to 'resolved'
Tue Nov 05 23:44:26 2013pause [...] tlinx.org - Taken
Tue Nov 05 23:44:42 2013pause [...] tlinx.org - Severity Normal added