develooper Front page | perl.module-authors | Postings from October 2005

Re: Tests needing user parameters

Thread Previous | Thread Next
David Landgren
October 20, 2005 14:11
Re: Tests needing user parameters
Message ID:
A. Pagaltzis a écrit :
> * David Landgren <> [2005-10-20 10:30]:


>>If there's a standard way of doing it, it would be really nice
>>that it understood when it was being run in a smoke
>>environment, and asked no questions and used built-in defaults.
> That’s exactly what EU::MM’s prompt() function and
> Module::Build’s prompt() method do/are for.

Hmmm. I just looked at XML::Twig, because I remember smoking it a few 
weeks ago and it blocked, asking about whether I wanted to install 
various doodads. I checked the source this afternoon:

In which we clearly see that mirod is using EU::MM's prompt() function.

So there's something else occurring. Perhpas CPANPLUS so cleverly 
emulates a real session that EU::MM can't distinguish whether STDIN is 
attached to a tty or not. Time to go gonzui diving.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About