in reply to Building a CPAN module with User Inputs

You would use the prompt() function ExtUtils::MakeMaker like
my $value = prompt($message, $default);
which won't interfere with non-interactive installs (for which default is taken)