in reply to getting is_deeply test::more to print to log

are you looking for this?

# run perl tests in DIRTESTS, save results in DIRLOG # and send email alarm if tests fail LOG=$DIRLOG/my_tests_`date +%y%m%d.log` cd $DIRTESTS prove *.t | tee $LOG if [ `cat $LOG | grep PASS | wc -l` == '0' ]; then ( echo "FROM: prove" echo "TO: you@somewhere.com" echo "SUBJECT: test failed" cat $LOG ) | sendmail -t fi

All is well. I learn by answering your questions...