Re: [Module::Build] PERL_MM_USE_DEFAULT
Status: Beta
Brought to you by:
kwilliams
From: Tyler M. <ty...@yi...> - 2006-04-06 20:04:36
|
Randy W. Sims <ml...@th...> wrote: > > This is a problem with CPAN.pm as well; if you try to do the initial > >setup with PERL_MM_USE_DEFAULT=1, it loops forever on the "Select a mirror" > >prompt. :-/ I've been meaning to discuss this more / submit a patch, but my > >backlog has been insane lately... > We can: > > die "ERROR: This build script not safe for unattended installs. Please > notify @{[$self->dist_author]} that they wrote a bad bad Build.PL. > Please ask them to provide reasonable defaults or switch to the new > ask() method." > if $ENV{PERL_MM_USE_DEFAULT} > && (called_without_default(y_n) || called_without_default(prompt); Sure. What I really want though, is for CPAN.pm to be totally automatable. If you want a good chuckle, check out the attached hackety-hackety-hack I whipped together one afternoon to do an autobuild; the scary thing is it actually works. <g> - Tyler |