As I was thinking about how to turn on test file logging, I thought it might be nice to set a flag in Makefile.PL that would, perhaps, set an environment variable while tests are run. Then the default value of $Test::log_file could be %ENV{'TEST_LOG_FILE'} instead of ''. That way, it would be very easy to turn on/off logging to a file for all tests at once.
Is there a way to specify environment variables that should be set during the 'make test'? -kolibrie