Subject: | You must use MakeMaker's prompt function |
You must use MakeMaker's prompt function or a compatible one (easier just to use ExtUtils::MakeMaker's prompt).
Your function doesn't play nice with any of the Test::* or Test::* modules.
It's a common mistake of new PAUSE authors.
perldoc ExtUtils::MakeMaker
...
prompt
my $value = prompt($message);
my $value = prompt($message, $default);
The prompt() function provides an easy way to request user input used to write a makefile. It displays the $message as a prompt for input. If a $default is provided it will be used as a default. The function returns the $value selected by the user.
If prompt() detects that it is not running interactively and there is nothing on STDIN or if the PERL_MM_USE_DEFAULT environment variable is set to true, the $default will be used without prompting. This prevents automated processes from blocking on user input.
If no $default is provided an empty string will be used instead.