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.

WWW: http://search.cpan.org/dist/Scalar-Util-LooksLikeNumber/
This commit is contained in:
Jun Kuriyama 2014-11-20 09:41:19 +00:00
parent e15dedd7af
commit fb6dbb574e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372894
5 changed files with 31 additions and 0 deletions

View file

@ -2740,6 +2740,7 @@
SUBDIR += p5-Scalar-Does
SUBDIR += p5-Scalar-Listify
SUBDIR += p5-Scalar-String
SUBDIR += p5-Scalar-Util-LooksLikeNumber
SUBDIR += p5-Scope-Guard
SUBDIR += p5-Scope-Upper
SUBDIR += p5-Script-isAperlScript

View file

@ -0,0 +1,18 @@
# $FreeBSD$
PORTNAME= Scalar-Util-LooksLikeNumber
PORTVERSION= 1.39.1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for looks_like_number() perl API
USES= perl5
USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/Scalar/Util/LooksLikeNumber/LooksLikeNumber.so
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Scalar-Util-LooksLikeNumber-1.39.1.tar.gz) = 0f6ff3bbbc8f1e2f10c70d0b99cf04c90f8869973722035f3c8cd0b8adc4b48a
SIZE (Scalar-Util-LooksLikeNumber-1.39.1.tar.gz) = 49101

View file

@ -0,0 +1,6 @@
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.
WWW: http://search.cpan.org/dist/Scalar-Util-LooksLikeNumber/

View file

@ -0,0 +1,4 @@
%%PERL5_MAN3%%/Scalar::Util::LooksLikeNumber.3.gz
%%SITE_ARCH%%/Scalar/Util/LooksLikeNumber.pm
%%SITE_ARCH%%/auto/Scalar/Util/LooksLikeNumber/.packlist
%%SITE_ARCH%%/auto/Scalar/Util/LooksLikeNumber/LooksLikeNumber.so