Dist::Zilla::Role::xPANResolver - Tools to resolve a package to a URI from a CPAN/DARKPAN mirror.
version 0.2.1
with 'Dist::Zilla::Role::xPANResolver'; sub foo { my $self = @_; my $uri = $self->resolve_module( 'http://some.darkpan.org', 'FizzBuzz::Bazz' ); }
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.
wget
cpanm
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2012 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.
To install Dist::Zilla::Plugin::Prereqs::DarkPAN, copy and paste the appropriate command in to your terminal.
cpanm Dist::Zilla::Plugin::Prereqs::DarkPAN
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Prereqs::DarkPAN
For more information on module installation, please visit the detailed CPAN module installation guide.