Scalar::Util::LooksLikeNumber - Access to looks_like_number() perl API function
use Scalar::Util::LooksLikeNumber; print Scalar::Util::LooksLikeNumber::looks_like_number(1); # -> 4352
Scalar::Util::LooksLikeNumber contains looks_like_number() like Scalar::Util's looks_like_number(), except it returns the raw value from the C function. Scalar::Util used to do this also, but it returns a booleanized value since 1.39.
Scalar::Util::LooksLikeNumber
Scalar::Util
Returns a non-zero if perl thinks $var is a number. See "looks_like_number" in perlapi.
$var
Copyright (c) 2014 Steven Haryanto <stevenharyanto@gmail.com>. Code is based on Scalar::Util.
To install Scalar::Util::LooksLikeNumber, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Scalar::Util::LooksLikeNumber
CPAN shell
perl -MCPAN -e shell install Scalar::Util::LooksLikeNumber
For more information on module installation, please visit the detailed CPAN module installation guide.