Skip Menu |

This queue is for tickets about the future CPAN distribution.

Report information
The Basics
Id: 96409
Status: resolved
Priority: 0/
Queue: future

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.28
Fixed in: 0.29



Subject: questions in Build.PL
Questions in Build.PL prevent cpantesters smoker from functioning correctly: they cannot test this module and smoker hangs. Please use prompt method from Module::Build. Also, environment variables PERL_MM_USE_DEFAULT or AUTOMATED_TESTING can be used to skip questions. -- Alexandr Ciornii, http://chorny.net
Fixed. -- Paul Evans
Subject: rt96409.patch
=== modified file 'Build.PL' --- Build.PL 2014-07-15 09:08:37 +0000 +++ Build.PL 2014-07-16 23:45:58 +0000 @@ -38,10 +38,11 @@ if( $printed and -t STDIN ) { # Attended update; might as well ask the user to confirm and exit if not - print STDERR "Are you still sure you wish to go ahead with this upgrade?\n"; - print STDERR "[enter 'yes' to continue]: "; - - my $reply = <STDIN>; + my $reply = Module::Build->prompt( + "Are you still sure you wish to go ahead with this upgrade?\n" . + "[enter 'yes' to continue]: ", + "no" + ); die "Aborting install due to broken dependent modules\n" unless $reply =~ m/^y/i; }
Released in 0.29 -- Paul Evans