in reply to Re: getting Test::More test names to print out
in thread getting Test::More test names to print out

prompt does not write to STDERR... it therefore prints nothing when used with make test.


Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality

Replies are listed 'Best First'.
Re: Re: Re: getting Test::More test names to print out
by PodMaster (Abbot) on Jan 04, 2004 at 02:23 UTC
    The reason you should use MakeMaker's prompt function is because it detects that it is not running interactively ... $default will be used without prompting. This prevents automated processes from blocking on user input.". Prompting from tests is just not a good idea, and prompting on STDERR is not a fix (just screws up automated testing).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.