@@ -1,4 +0,0 @@
-Build Makefile
-_build blib
-META.yml MYMETA.yml Makefile.PL SIGNATURE
-Data-Integer-*
@@ -0,0 +1,11 @@
+/Build
+/Makefile
+/_build
+/blib
+/META.json
+/META.yml
+/MYMETA.json
+/MYMETA.yml
+/Makefile.PL
+/SIGNATURE
+/Data-Integer-*
@@ -1,3 +1,14 @@
+version 0.005; 2015-03-29
+
+ * avoid a spurious warning generated by new Perls starting with
+ Perl 5.21.6
+
+ * include META.json in distribution
+
+ * convert .cvsignore to .gitignore
+
+ * add MYMETA.json to .cvsignore
+
version 0.004; 2010-07-26
* in documentation of {s,u}int_msub(), correct description that said
@@ -1,7 +1,8 @@
-.cvsignore
+.gitignore
Build.PL
Changes
MANIFEST
+META.json
META.yml
Makefile.PL
README
@@ -0,0 +1,61 @@
+{
+ "abstract" : "details of the native integer data type",
+ "author" : [
+ "Andrew Main (Zefram) <zefram@fysh.org>"
+ ],
+ "dynamic_config" : 0,
+ "generated_by" : "Module::Build version 0.4205",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Data-Integer",
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "Module::Build" : "0",
+ "Test::More" : "0",
+ "integer" : "0",
+ "perl" : "5.006",
+ "strict" : "0",
+ "warnings" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "Module::Build" : "0",
+ "perl" : "5.006",
+ "strict" : "0",
+ "warnings" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Carp" : "0",
+ "Exporter" : "0",
+ "constant" : "0",
+ "integer" : "0",
+ "parent" : "0",
+ "perl" : "5.006",
+ "strict" : "0",
+ "warnings" : "0"
+ }
+ }
+ },
+ "provides" : {
+ "Data::Integer" : {
+ "file" : "lib/Data/Integer.pm",
+ "version" : "0.005"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
+ ]
+ },
+ "version" : "0.005"
+}
@@ -3,38 +3,37 @@ abstract: 'details of the native integer data type'
author:
- 'Andrew Main (Zefram) <zefram@fysh.org>'
build_requires:
- Module::Build: 0
- Test::More: 0
- integer: 0
- perl: 5.006
- strict: 0
- warnings: 0
+ Module::Build: '0'
+ Test::More: '0'
+ integer: '0'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
configure_requires:
- Module::Build: 0
- perl: 5.006
- strict: 0
- warnings: 0
-distribution_type: module
+ Module::Build: '0'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
dynamic_config: 0
-generated_by: 'Module::Build version 0.3607'
+generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 2.131560'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Data-Integer
provides:
Data::Integer:
file: lib/Data/Integer.pm
- version: 0.004
+ version: '0.005'
requires:
- Carp: 0
- Exporter: 0
- constant: 0
- integer: 0
- parent: 0
- perl: 5.006
- strict: 0
- warnings: 0
+ Carp: '0'
+ Exporter: '0'
+ constant: '0'
+ integer: '0'
+ parent: '0'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
resources:
license: http://dev.perl.org/licenses/
-version: 0.004
+version: '0.005'
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3607
+# Note: this file was auto-generated by Module::Build::Compat version 0.4205
require 5.006;
unless (eval "use Module::Build::Compat 0.02; 1" ) {
@@ -25,7 +25,7 @@ Andrew Main (Zefram) <zefram@fysh.org>
COPYRIGHT
-Copyright (C) 2007, 2010 Andrew Main (Zefram) <zefram@fysh.org>
+Copyright (C) 2007, 2010, 2015 Andrew Main (Zefram) <zefram@fysh.org>
LICENSE
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.64.
+signed via the Module::Signature module, version 0.73.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -14,14 +14,15 @@ not run its Makefile.PL or Build.PL.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 ba49ef40300a13f7460b40389d8b409a2322a1f9 .cvsignore
+SHA1 0b6879d52a337146657107e6b2dc409d8b3e4b0a .gitignore
SHA1 89ff4f6bd8cc3dce68bb468d84ed80b42a850415 Build.PL
-SHA1 05703b0c95013353117b85a006e3b6bccbee1406 Changes
-SHA1 973611a3dd36b64c268d1bb434068bf77aebe41d MANIFEST
-SHA1 a0883f66969a2aef5a45b0f641f9faee3f45e8d0 META.yml
-SHA1 caae608231ffe78390c76451ade51a7cfc87a9f9 Makefile.PL
-SHA1 ed8fbe8d2149a0497b601886e2f4133a352eb4e9 README
-SHA1 0234b643352a56d8304182b1fea80fe26c404599 lib/Data/Integer.pm
+SHA1 cb41f8ec3e2a8070af4b5c207c984f2875a3dc50 Changes
+SHA1 cdf0be3ae1c6bd1fe2a5251ab4f5b16abe4d97a6 MANIFEST
+SHA1 670c78ebf5e415f4c5247e7ccfa577fa9029a0c9 META.json
+SHA1 fb5c4e4bb7cedff9ee022d9848822e901894f981 META.yml
+SHA1 94823f40b300188c2e44ea2197ce43b3ae315d91 Makefile.PL
+SHA1 ce58827f16585c1dfd85ea929af94450f9e3be8a README
+SHA1 b8a7cc9ad0d93c1c692ef9a18a96595739c70b00 lib/Data/Integer.pm
SHA1 a6775c8babaa5a71ec2762cffb276ee7530a449f t/arith.t
SHA1 a4c627f299ef3fb42c8ab1b2151d667c7c4a0b69 t/bitwise.t
SHA1 1c725e7123c27fd68fd93512a273a246234affd3 t/canon.t
@@ -33,9 +34,9 @@ SHA1 904d9a4f76525e2303e4b0c168c68230f223c8de t/pod_cvg.t
SHA1 65c75abdef6f01a5d1588a307f2ddfe2333dc961 t/pod_syn.t
SHA1 109d93a082fe01366dea95f4c099b7d04fb775b3 t/shift.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
+Version: GnuPG v1.4.12 (GNU/Linux)
-iEYEARECAAYFAkxN7L0ACgkQOV9mt2VyAVH2hQCeO/7WSkGV0fGGIi3f6OMHsLnU
-07YAoJlZU5LMv1tF2pfdWinlNF5krsSi
-=VyTP
+iEYEARECAAYFAlUYVl4ACgkQOV9mt2VyAVHe2wCcDwz/6mp98afmFhiPhXhygOlD
+mRoAnipbGyxXpPedeLvlXye7DXeF0mfL
+=By4n
-----END PGP SIGNATURE-----
@@ -185,7 +185,7 @@ use strict;
use Carp qw(croak);
-our $VERSION = "0.004";
+our $VERSION = "0.005";
use parent "Exporter";
our @EXPORT_OK = qw(
@@ -254,12 +254,13 @@ The width, in bits, of the native integer data types.
# signed integer representation.
BEGIN {
use integer;
- my $natint_bits = 1;
+ my $bit_count = 1;
my $test_bit = 1;
while($test_bit > 0) {
- $natint_bits += 1;
+ $bit_count += 1;
$test_bit <<= 1;
}
+ my $natint_bits = $bit_count;
*natint_bits = sub () { $natint_bits };
}
@@ -1407,7 +1408,7 @@ Andrew Main (Zefram) <zefram@fysh.org>
=head1 COPYRIGHT
-Copyright (C) 2007, 2010 Andrew Main (Zefram) <zefram@fysh.org>
+Copyright (C) 2007, 2010, 2015 Andrew Main (Zefram) <zefram@fysh.org>
=head1 LICENSE