Skip Menu |

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

Report information
The Basics
Id: 94817
Status: new
Priority: 0/
Queue: Scalar-List-Utils

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

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



Subject: Feature request: looks_like_int, looks_like_float, look_like_real
Hi, Functions more specialized than looks_like_number would be useful in Scalar::Util: - looks_like_int - looks_like_float - looks_like_real SHARYANTO had an implementation at https://metacpan.org/source/SHARYANTO/SHARYANTO-Utils-0.70/lib/SHARYANTO/Scalar/Util.pm (the module has since been removed from CPAN) but it was using looks_like_number internals (see RT#94806). For details: https://rt.cpan.org/Ticket/Display.html?id=94805 Its test suite may still be useful... -- Olivier Mengué - http://perlresume.org/DOLMEN