Re: [Module::Build] PERL_MM_USE_DEFAULT
Status: Beta
Brought to you by:
kwilliams
|
From: Tyler M. <ty...@yi...> - 2006-01-19 02:58:40
|
Ken,
Would it be possible to change this:
sub _is_interactive {
return -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT)) ; # Pipe?
}
To this:
sub _is_interactive {
return (!$ENV{PERL_MM_USE_DEFAULT}) && -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT)) ; # Pipe?
}
?
Thanks,
Tyler
Tyler MacDonald <ty...@yi...> wrote:
> Hi,
>
> I think it would be a great thing if Module::Build obeyed the
> PERL_MM_USE_DEFAULT environment variable supported by ExtUtils::MakeMaker.
> It would make it much easier for an admin to quickly install a bunch of
> packages in CPAN.pm without having to worry about checking back for prompts.
>
> Cheers,
> Tyler
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Module-build-general mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/module-build-general
>
|