This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Module-Load-Conditional to CPAN version 0.74
authorTodd Rinaldo <toddr@cpan.org>
Sun, 13 Sep 2020 04:45:25 +0000 (23:45 -0500)
committerTodd Rinaldo <toddr@cpan.org>
Sun, 13 Sep 2020 15:16:29 +0000 (10:16 -0500)
Ignore that versions have not changed in test file libraries.

[DELTA]

0.74    Fri Aug 21 09:06:21 BST 2020

* strictify the test suite packages

0.72    Thu 25 Jun 08:21:16 BST 2020

* Avoid using indirect calls

13 files changed:
Porting/Maintainers.pl
Porting/cmpVERSION.pl
cpan/Module-Load-Conditional/lib/Module/Load/Conditional.pm
cpan/Module-Load-Conditional/t/test_lib/a/X.pm
cpan/Module-Load-Conditional/t/test_lib/b/X.pm
cpan/Module-Load-Conditional/t/to_load/Commented.pm
cpan/Module-Load-Conditional/t/to_load/HereDoc.pm
cpan/Module-Load-Conditional/t/to_load/InPod.pm
cpan/Module-Load-Conditional/t/to_load/LoadIt.pm
cpan/Module-Load-Conditional/t/to_load/LoadMe.pl
cpan/Module-Load-Conditional/t/to_load/MustBe/Loaded.pm
cpan/Module-Load-Conditional/t/to_load/NotMain.pm
cpan/Module-Load-Conditional/t/to_load/NotX.pm

index 5cdb19a..c75405d 100755 (executable)
@@ -824,7 +824,7 @@ use File::Glob qw(:case);
     },
 
     'Module::Load::Conditional' => {
-        'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.70.tar.gz',
+        'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.74.tar.gz',
         'FILES'        => q[cpan/Module-Load-Conditional],
     },
 
index 4041350..14aca54 100755 (executable)
@@ -90,6 +90,15 @@ my %skip;
     'cpan/Math-BigInt/t/Math/BigInt/Scalar.pm',     # just a test module
     'cpan/Math-BigInt/t/Math/BigInt/Subclass.pm',   # just a test module
     'cpan/Math-BigRat/t/Math/BigRat/Test.pm',       # just a test module
+    'cpan/Module-Load-Conditional/t/test_lib/a/X.pm',          # just a test module
+    'cpan/Module-Load-Conditional/t/test_lib/b/X.pm',          # just a test module
+    'cpan/Module-Load-Conditional/t/to_load/Commented.pm',     # just a test module
+    'cpan/Module-Load-Conditional/t/to_load/HereDoc.pm',       # just a test module
+    'cpan/Module-Load-Conditional/t/to_load/InPod.pm',         # just a test module
+    'cpan/Module-Load-Conditional/t/to_load/LoadIt.pm',        # just a test module
+    'cpan/Module-Load-Conditional/t/to_load/MustBe/Loaded.pm', # just a test module
+    'cpan/Module-Load-Conditional/t/to_load/NotMain.pm',       # just a test module
+    'cpan/Module-Load-Conditional/t/to_load/NotX.pm',          # just a test module
     'cpan/podlators/t/lib/Test/Podlators.pm',       # just a test module
     'cpan/podlators/t/lib/Test/RRA.pm',             # just a test module
     'cpan/podlators/t/lib/Test/RRA/Config.pm',      # just a test module
index b0685d2..b851aeb 100644 (file)
@@ -22,7 +22,7 @@ BEGIN {
                         $FIND_VERSION $ERROR $CHECK_INC_HASH $FORCE_SAFE_INC ];
     use Exporter;
     @ISA            = qw[Exporter];
-    $VERSION        = '0.70';
+    $VERSION        = '0.74';
     $VERBOSE        = 0;
     $DEPRECATED     = 0;
     $FIND_VERSION   = 1;
@@ -238,7 +238,7 @@ sub check_install {
                 $filename = File::Spec->catfile($dir, $file);
                 next unless -e $filename;
 
-                $fh = new FileHandle;
+                $fh = FileHandle->new();
                 if (!$fh->open($filename)) {
                     warn loc(q[Cannot open file '%1': %2], $file, $!)
                             if $args->{verbose};
@@ -320,6 +320,7 @@ sub check_install {
         require Module::CoreList;
         require Config;
 
+        no warnings 'once';
         $href->{uptodate} = 0 if
            exists $Module::CoreList::version{ 0+$] }{ $args->{module} } and
            Module::CoreList::is_deprecated( $args->{module} ) and
index e3f516e..4b9676a 100644 (file)
@@ -1,5 +1,7 @@
 package Commented;
+use strict;
 
+our $VERSION;
 # $VERSION = 1;
 $VERSION = 2;
 
index 0d4c39b..b49c145 100644 (file)
@@ -1,3 +1,4 @@
+use strict;
 =pod
 
 $VERSION = 1;
@@ -6,6 +7,6 @@ $VERSION = 1;
 
 package InPod;
 
-$VERSION = 2;
+our $VERSION = 2;
 
 1;
index ff54409..b9b0187 100644 (file)
@@ -1,15 +1,16 @@
-$VERSION = 1;
+use strict;
+our $VERSION = 1;
 
 package Y;
 
-$VERSION = 2;
+our $VERSION = 2;
 
 package NotX;
 
-$VERSION = 3;
+our $VERSION = 3;
 
 package X;
 
-$VERSION = 4;
+our $VERSION = 4;
 
 1;