On Wed, Jul 9, 2014 at 6:50 AM, Gabor Szabo <[email protected]> wrote:

Or you could use the looks_like_number function of  Scalar::Util  that has
> been standard modules since 5.8
> http://corelist.rpee.be/m/Scalar::Util and it seems the function was
> already available in 5.8.8.
> http://perldoc.perl.org/5.8.8/Scalar/Util.html (you might want to check
> version 5.8.0 yourself)
>
>
Looking at the web-baed core-list closer it also list the version numbers
of the modules as came with older perls
5.8.0 came with
https://metacpan.org/pod/release/GBARR/Scalar-List-Utils-1.07/lib/Scalar/Util.pm
5.8.1. came with
https://metacpan.org/pod/release/GBARR/Scalar-List-Utils-1.13/lib/Scalar/Util.pm

It seems the version that came with 5.8.0 does not yet have
looks_like_number, but the one that came with 5.8.1 already has.

Gabor
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to