in reply to CPAN Modules asking questions

In theory, every Good distribution behaves well in absence of a terminal/user. This is by virtue of using ExtUtils::MakeMaker's prompt function, which knows to return the default value when there is no user to answer the question.

In practice, there are bad apples that ask the same question over and over again, providing no default and not realizing that there is nobody there to answer. Such distributions will hopefully become rarer and rarer.

The ExtUtils::MakeMaker documentation says to set $ENV{PERL_MM_USE_DEFAULT} to a true value to make EU:MM skip the questions. I guess that Module::Build, as incompatible as it may be otherwise, also adheres to this standard.

Replies are listed 'Best First'.
Re^2: CPAN Modules asking questions
by Herkum (Parson) on May 02, 2008 at 18:38 UTC

    FYI, I did verify that Module::Build does use the $ENV{PERL_MM_USE_DEFAULT} value during installation. It was under Module::Build::API, prompt().

    I did not know about this before, glad you mentioned it!