diff options
author | Todd Rinaldo <toddr@cpan.org> | 2020-09-30 08:12:03 -0500 |
---|---|---|
committer | Todd Rinaldo <toddr@cpan.org> | 2020-09-30 10:52:18 -0500 |
commit | ffdf828c4c26b3bbc46691b443858a107e0f6472 (patch) | |
tree | 123afd74d33c710a353e87f5d747e22e22194921 /cpan/Module-Load | |
parent | 4559f7e6350cb49ddd0cd4ae3df3db012693f220 (diff) | |
download | perl-ffdf828c4c26b3bbc46691b443858a107e0f6472.tar.gz |
Update Module-Load to CPAN version 0.36
[DELTA]
0.36 Tue Sep 29 11:55:01 BST 2020
* Fixed E<gt> in POD (https://github.com/jib/module-load/pull/6)
* Make Module-Load strict compliant (https://github.com/jib/module-load/pull/7)
Diffstat (limited to 'cpan/Module-Load')
-rw-r--r-- | cpan/Module-Load/lib/Module/Load.pm | 7 | ||||
-rw-r--r-- | cpan/Module-Load/t/01_Module-Load.t | 4 | ||||
-rw-r--r-- | cpan/Module-Load/t/02_Module-Load.t | 3 | ||||
-rw-r--r-- | cpan/Module-Load/t/to_load/LoadIt.pm | 4 | ||||
-rw-r--r-- | cpan/Module-Load/t/to_load/Must/Be/Loaded.pm | 4 | ||||
-rw-r--r-- | cpan/Module-Load/t/to_load/TestModule.pm | 2 |
6 files changed, 15 insertions, 9 deletions
diff --git a/cpan/Module-Load/lib/Module/Load.pm b/cpan/Module-Load/lib/Module/Load.pm index 0c403d41b7..28294eee56 100644 --- a/cpan/Module-Load/lib/Module/Load.pm +++ b/cpan/Module-Load/lib/Module/Load.pm @@ -1,11 +1,12 @@ package Module::Load; -$VERSION = '0.34'; - use strict; use warnings; use File::Spec (); +our $VERSION = '0.36'; + + sub import { my $who = _who(); my $h; shift; @@ -358,7 +359,7 @@ Thanks to Jonas B. Nielsen for making explicit imports work. =head1 BUG REPORTS -Please report bugs or other issues to E<lt>bug-module-load@rt.cpan.org<gt>. +Please report bugs or other issues to E<lt>bug-module-load@rt.cpan.orgE<gt>. =head1 AUTHOR diff --git a/cpan/Module-Load/t/01_Module-Load.t b/cpan/Module-Load/t/01_Module-Load.t index 228b31d7bd..42867f680c 100644 --- a/cpan/Module-Load/t/01_Module-Load.t +++ b/cpan/Module-Load/t/01_Module-Load.t @@ -1,4 +1,7 @@ ### Module::Load test suite ### +use strict; +use warnings; + BEGIN { if( $ENV{PERL_CORE} ) { chdir '../lib/Module/Load' if -d '../lib/Module/Load'; @@ -8,7 +11,6 @@ BEGIN { BEGIN { chdir 't' if -d 't' } -use strict; use lib qw[../lib to_load]; use Module::Load; use Test::More 'no_plan'; diff --git a/cpan/Module-Load/t/02_Module-Load.t b/cpan/Module-Load/t/02_Module-Load.t index 2565f262f8..f2c0eac6db 100644 --- a/cpan/Module-Load/t/02_Module-Load.t +++ b/cpan/Module-Load/t/02_Module-Load.t @@ -1,8 +1,9 @@ #!perl -use Test::More; use strict; use warnings; + +use Test::More; use Config; # diff --git a/cpan/Module-Load/t/to_load/LoadIt.pm b/cpan/Module-Load/t/to_load/LoadIt.pm index 63874fd443..317745cb9c 100644 --- a/cpan/Module-Load/t/to_load/LoadIt.pm +++ b/cpan/Module-Load/t/to_load/LoadIt.pm @@ -1,3 +1,3 @@ -$VERSION = 1; +our $VERSION = 1; -1;
\ No newline at end of file +1; diff --git a/cpan/Module-Load/t/to_load/Must/Be/Loaded.pm b/cpan/Module-Load/t/to_load/Must/Be/Loaded.pm index 46de6d5e14..b98728c57d 100644 --- a/cpan/Module-Load/t/to_load/Must/Be/Loaded.pm +++ b/cpan/Module-Load/t/to_load/Must/Be/Loaded.pm @@ -1,3 +1,3 @@ -$VERSION = 0.01; +our $VERSION = 0.01; -1;
\ No newline at end of file +1; diff --git a/cpan/Module-Load/t/to_load/TestModule.pm b/cpan/Module-Load/t/to_load/TestModule.pm index ffc5ec98f5..e344b43bb2 100644 --- a/cpan/Module-Load/t/to_load/TestModule.pm +++ b/cpan/Module-Load/t/to_load/TestModule.pm @@ -1,6 +1,8 @@ package TestModule; use strict; +use warnings; + require Exporter; use vars qw(@EXPORT @EXPORT_OK @ISA $IMPORTED); |