I don't want to be prompted, but how?
It won't always work, but in most cases, you can set the PERL_MM_USE_DEFAULT environment variable and modules that use ExtUtils::MakeMaker's prompt function won't prompt and will use the default instead. So on *nix:
$ PERL_MM_USE_DEFAULT=1 cpanp i Template
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.