On Tue, Aug 25, 2009 at 11:37 AM, Zefram<zef...@fysh.org> wrote: > Curtis Jewell wrote: >>I have an option 3 that might be usable: Make it test for >>$ENV{PERL_MM_USE_DEFAULT} in addition to $ENV{AUTOMATED_TESTING}. > > CPAN.pm doesn't currently set that variable. Are you proposing that it > should? Always or dependent on a configuration option? Just for T:RL:P? > This sounds like a variant on my option 1, workaround in the toolchain.
I had the same thought Curtis had'. PERL_MM_USE_DEFAULT is a "standard" signal that a user doesn't want to be prompted. It would let Ilya keep tests by default, but allow users to opt-out. No, CPAN.pm doesn't currently set it, but it's been on my list of "nice to have" features to add, along with the equivalent for auto-install. I could imagine (yet another) CPAN config option to use defaults for prompts or possibly a pragma for the shell, working like this: cpan> noprompt install Bundle::CPAN And regardless, there's always; $ PERL_MM_USE_DEFAULT=1 perl -MCPAN -e shell Other ideas? If not, could someone please go open a ticket with this wishlist item on the Term::ReadLine::Perl RT (ideally with a patch) and we can weigh in with our support. -- David