Skip Menu |

This queue is for tickets about the Scalar-List-Utils CPAN distribution.

Report information
The Basics
Id: 48550
Status: resolved
Priority: 0/
Queue: Scalar-List-Utils

Owner: Nobody in particular
Requestors: COWENS [...]

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

Subject: Pure Perl version of looks_like_number thinks Unicode digits are numbers
Download (untitled) / with headers
text/plain 326b
The pure Perl version uses \d in looks_like_number. \d matches more than [0-9] in 5.8 and later, so the pure Perl version incorrectly reports "\x{1815}" (MONGOLIAN DIGIT FIVE) as a number. I have attached a patch that changes the pure Perl version to use [0-9] instead of \d in looks_like_number and added a test to t/lln.t.
Subject: patch
Download patch
application/octet-stream 1.4k

Message body not shown because it is not plain text.

Fixed in 1.22 just released to CPAN

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

Please report any issues with to