Skip to content

Commit

Permalink
Update Module-Load to CPAN version 0.34
Browse files Browse the repository at this point in the history
    [DELTA]

0.34    Sun Feb 10 13:56:54 GMT 2019
* Added SEE ALSO section to documentation. RT#100575
* Unreachable code cleanup (jib/cpanplus-devel#15)
  • Loading branch information
atoomic committed Feb 13, 2019
1 parent 7835a09 commit df56252
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Porting/Maintainers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ package Maintainers;
},

'Module::Load' => {
'DISTRIBUTION' => 'BINGOS/Module-Load-0.32.tar.gz',
'DISTRIBUTION' => 'BINGOS/Module-Load-0.34.tar.gz',
'FILES' => q[cpan/Module-Load],
},

Expand Down
24 changes: 21 additions & 3 deletions cpan/Module-Load/lib/Module/Load.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Module::Load;

$VERSION = '0.32';
$VERSION = '0.34';

use strict;
use warnings;
Expand Down Expand Up @@ -92,8 +92,7 @@ sub _load{
$import = $mod->can('import')
) and (
unshift(@_, $mod),
goto &$import,
return
goto &$import
)
);
}
Expand Down Expand Up @@ -334,6 +333,25 @@ C<Module::Load> cannot do implicit imports, only explicit imports.
to import from a module, even if the functions are in that modules'
C<@EXPORT>)
=head1 SEE ALSO
L<Module::Runtime> provides functions for loading modules,
checking the validity of a module name,
converting a module name to partial C<.pm> path,
and related utility functions.
L<"require" in perlfunc|https://metacpan.org/pod/perlfunc#require>
and
L<"use" in perlfunc|https://metacpan.org/pod/perlfunc#use>.
L<Mojo::Loader> is a "class loader and plugin framework",
and is included in the
L<Mojolicious|https://metacpan.org/release/Mojolicious> distribution.
L<Module::Loader> is a module for finding and loading modules
in a given namespace, inspired by C<Mojo::Loader>.
=head1 ACKNOWLEDGEMENTS
Thanks to Jonas B. Nielsen for making explicit imports work.
Expand Down

0 comments on commit df56252

Please sign in to comment.