
Test::regression is a test::more compatible module that provides an ok_regression function which compares the output of a code reference with stored reference files. if necessary the reference files can be regenerated by setting an environment variable.