1Scalar::Util::LooksLikeUNsuemrbeCro(n3t)ributed Perl DocSucmaelnatra:t:iUotnil::LooksLikeNumber(3)
2
3
4
6 Scalar::Util::LooksLikeNumber - Access to looks_like_number() perl API
7 function
8
10 use Scalar::Util::LooksLikeNumber;
11 print Scalar::Util::LooksLikeNumber::looks_like_number(1); # -> 4352
12
14 "Scalar::Util::LooksLikeNumber" contains looks_like_number() like
15 "Scalar::Util"'s looks_like_number(), except it returns the raw value
16 from the C function. Scalar::Util used to do this also, but it returns
17 a booleanized value since 1.39.
18
20 $res = looks_like_number( $var )
21 Returns a non-zero if perl thinks $var is a number. See
22 "looks_like_number" in perlapi.
23
25 Scalar::Util
26
28 Copyright (c) 2014 Steven Haryanto <stevenharyanto@gmail.com>.
29 Code is based on Scalar::Util.
30
31
32
33perl v5.30.1 2020-01-30 Scalar::Util::LooksLikeNumber(3)