For the more readable unit test error messages on multi-line strings use: PERL_TEST_DIFF="diff -c" make test