This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Numify $Socket::VERSION
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sat, 28 Oct 2017 15:23:33 +0000 (16:23 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sat, 28 Oct 2017 15:23:33 +0000 (16:23 +0100)
We have a customised version with _ in the version, which causes
warnings from modules that check it numerically instead of calling
->VERSION(...).

cpan/Socket/Socket.pm
t/porting/customized.dat

index 5b187fa..583b9f9 100644 (file)
@@ -4,6 +4,7 @@ use strict;
 { use 5.006001; }
 
 our $VERSION = '2.020_03'; # patched in perl5.git
+$VERSION =~ tr/_//d;       # make $VERSION numeric
 
 =head1 NAME
 
index 3357966..e4e3dc2 100644 (file)
@@ -15,7 +15,7 @@ Pod::Checker cpan/Pod-Checker/t/pod/selfcheck.t 8ce3cfd38e4b9bcf5bc7fe7f2a14195e
 Pod::Checker cpan/Pod-Checker/t/pod/testcmp.pl a0cd5c8eca775c7753f4464eee96fa916e3d8a16
 Pod::Checker cpan/Pod-Checker/t/pod/testpchk.pl b2072c7f4379fd050e15424175d7cac5facf5b3b
 Pod::Perldoc cpan/Pod-Perldoc/lib/Pod/Perldoc.pm 582be34c077c9ff44d99914724a0cc2140bcd48c
-Socket cpan/Socket/Socket.pm 98e38176d745c38282907f391c077298f5a3d0ba
+Socket cpan/Socket/Socket.pm 65c0af9d27d30652a5e73f0a05c881a240240dd4
 Socket cpan/Socket/Socket.xs edd4fed212785f11c5c2095a75941dad27d586d9
 autodie cpan/autodie/t/mkdir.t 9e70d2282a3cc7d76a78bf8144fccba20fb37dac
 perlfaq cpan/perlfaq/lib/perlfaq5.pod bcc1b6af3b6dff3973643acf8d5e741463374123