I have the following in my perl script to run on Windows servers:
IN and OUT being part of the open commands to open the files.
if (grep(/Export terminated successfully without warnings./, <IN>)) {
print "SUCCESS IT WORKS";
} else {
$errorfound="T";
print OUT "The export has not finished...