Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 14613
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.14
Fixed in: (no value)



Subject: TT doesn't adhere to standard 'use defaults' guidelines
Hi, when automatically building template::toolkit, i noticed it had an interactive Makefile.PL, that asks the user some questions. From scanning the source i gathered the following: print "Accepting defaults automatically (TT_ACCEPT)." if $TT_ACCEPT; $TT_ACCEPT is initialized as 'n' by default, unless TT_ACCEPT is given on the commandline. In standard Makefile.PL it's custom to also use the defaults if the env var PERL5_MM_USE_DEFAULT is set. When using EU::MM's prompt() function, this is done automatically for you. It would be nice if you could either use EU::MM's builtin prompt function, or have TT_ACCEPT be initialized as 'y' when $ENV{PERL_MM_USE_DEFAULT} is set, when you next release TT. Thanks,