Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 9447
Status: resolved
Priority: 0/
Queue: Module-Build

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

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



Date: Wed, 05 Jan 2005 19:40:45 +0100
From: Max Maischein <corion [...] cpan.org>
To: bug-Module-Build [...] rt.cpan.org
Subject: Module::Build 0.27 y_n enters endless loop in unattended mode
Hello, once again, Module::Build produced a nice endless loop while running tests in unattended mode. The usage of Module::Build by iCal::Parser::SAX produces an endless loop, as it calls $build->y_n('Would you like to install ical2xml, a command line frontend?') without supplying a default value. Module::Build should B<not> allow that. It should always enforce a default or fail building if the module is running unattended and no default was supplied. In no case it should enter an endless loop repeating the question with the comment Please answer 'y' or 'n' until the process runs out of resources. Of course, an easy fix would be if the author used Module::Build in the "correct" way, but allowing the users of Module::Build to make such mistakes when a safeguard is easily implmented on Module::Builds side is wrong. -max
Thanks for the report, this is fixed in 0.2608 now. -Ken