Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: hanenkamp [...] cpan.org
Cc:
AdminCc:

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



Subject: looks_like_number returns false for Readonly scalars
To reproduce: % perl -MReadonly -MScalar::Util=looks_like_number -le 'Readonly my $x => 10; print looks_like_number($x) ? "Yes $x" : "No $x";' This outputs for me: No 10 I originally thought this was an issue with Readonly, but the code there doesn't do anything to the value but tie it so that STORE and UNTIE croaks. Looking at looks_like_number didn't reveal an obvious source of the problem either, but I thought I'd pass it along.
Oh, the other ticket is #24216 on CPAN RT.
Fixed in Scalar-List-Utils-1.20