Re: [Module::Build] Re: something broken between Module::Build, CPAN.pm, and ExtUtils::MakeMaker in
Status: Beta
Brought to you by:
kwilliams
|
From: Tyler M. <ty...@yi...> - 2006-02-14 21:20:57
|
John Peacock <jpe...@ro...> wrote:
> if ($mb->overwrite_makefile() && -f $Makefile ) {
> my $answer = $mb->y_n("Found an existing Makefile.PL; overwrite?");
> if ($answer =~/y/i) {
> write_makefile;
> }
> }
>
> where overwrite_makefile is a package option passed to M::B::new(). I
> did it this way so that
>
> a) the developer has to affirmatively choose that option;
> b) the developer has to _always_ hit 'Y' when running './Build distdir',
> just in case he/she did something manually and forgot to turn off the
> option.
So that's in there now?
BTW.. tsk tsk... y_n requires a default now. ;-)
- Tyler
|