Skip Menu |

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 23707
Status: rejected
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: SMPETERS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Module::Install should respect CPAN config settings for installing prerequisites
CPAN gives you three options for installing prerequisites: "follow", which installs all prerequisites unconditionally; "ask", which asks before installing; and, "ignore" which skips the prerequisite installation. While ExtUtils::MakeMaker and Module::Build seem to live within this framework, Module::Install seems to default to "ask" regardless of CPAN's settings. Module::Install should respect a user's wishes and only "ask" when a user has set up their CPAN settings in this manner.
From: dwheeler [...] cpan.org
BUMP! This is an important one. The M::I prompt annoys the shit out of me in both the CPAN shell and the CPANPLUS shell. Not sure if this is something that M::I should handle or CPAN and CPANPLUS, but I suspect the former. Perhaps it should not prompt if some sort of environment variable is present to indicate that one or the other CPAN module is performing the installation? Thanks, David
The problem here is that CPAN and CPANPLUS do not communicate their current preferences to the Makefile.PL. Previous attempts to autodetect which client we are running under and then slurp in their config have been nothing but pain, and Andreas at the very least has spanked me for it and said "don't do that". Pending some method of communicating preferences, there's nothing I can do.