NAME
Dist::Zilla::Role::xPANResolver - Tools to resolve a package to a URI from a CPAN/DARKPAN mirror.
VERSION
version v0.3.0
METHODS
resolve_module
sub
foo {
my
$self
=
@_
;
my
$uri
=
$self
->resolve_module(
);
}
This should resolve the Module to the applicable package, and return the most recent distribution.
It should then return a fully qualified path to that resource suitable for passing to wget
or cpanm
.
AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.