While $ENV{PERL_MM_USE_DEFAULT} has been already mentioned, it is worth setting $ENV{AUTOMATED_TESTING} also.
Here are some pointer about $ENV{AUTOMATED_TESTING}:
Well behaved modules should check for that env var also
But I wouldn't count on the fact that modules that don't use prompt() are few, here's a list of distro's that are using STDIN directly: Distributions failing 'no_stdin_for_prompting' - experimental
In reply to Re: CPAN Modules asking questions
by Ultra
in thread CPAN Modules asking questions
by diabelek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |