Also some google search might help. I cover this from a Verification stand point in my course Comprehensive Functional Verification (CFV), www.noveldv.com
1. You can write a perl srcipt which checks the results with golden results at the end of simulation and give pass or fail.
2. You can write interactive scripts to run the intended testcase.
3. You can use it for converting the data from one format to other format