Subject: | Phone Home automated failure |
Phone home requests are notoriously prone to problems. Please could you
default the request to 'no', as opposed to yes, so as to be less
intrusive. I run automated tests and am not installing the distribution,
only testing it.
Because of the phone home piece, I am persistently getting the following:
Send this anonymous information? (Y/n): GetConsoleMode failed,
LastError=|6| at C:\Perl\site\lib/Term/ReadKey.pm line 265.
-- cannot continue
The same applies to WWW-VenusEnvy too.
Admittedly this is possibly not a problem with your Makefile.PL, but it
does mean your modules are failing rather than carrying on and actually
attempting tests. You might want to see if you can use
ExtUtils::MakeMaker's own prompt() rather than using another module just
to ask a question.
I would also suggest you make use of the environment variable
AUTOMATED_TESTING, that is set when CPAN-YACSmoke (the most used CPAN
smoke testing harness for CPAN Testers) is run. If the test is true,
then your module is not being installed, merely tested, and will neatly
avoid the above problem in reading the keyboard.