Closed mattp- closed 12 years ago
Thanks for this, Matt. I see what you mean:
cpanm HTML::Restrict
--> Working on HTML::Restrict
Fetching http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTML-Restrict-1.0.3.tar.gz ... OK
Configuring HTML-Restrict-1.0.3 ... OK
==> Found dependencies: MooX::Types::MooseLike::Base
--> Working on MooX::Types::MooseLike::Base
Fetching http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz ... FAIL
! Download http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz failed. Retrying ...
! Download http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz failed. Retrying ...
! Download http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz failed. Retrying ...
! Failed to download http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz
! Failed to fetch distribution MooX-Types-MooseLike-0.03
! Bailing out the installation for HTML-Restrict-1.0.3. Retry with --prompt or --force.
Looks like use'ing MooX::Types::MooseLike::Base explicitly adds this module to the requires list in your makefile. That module is inside of MooX::Types::MooseLike . Explicitly having base causes cpan/m to install.
You can skip it in dist.ini with [AutoPrereqs] skip = ^MooX::Types::MooseLike
but I don't see how to manually add a new prerequisite. Maybe use'ing the base module if you wanted to keep using that dzil plugin.
Cheers, Matt