# if the number of actual detail records doesn't match the count in the file, mark this file as rejected and print a message to the error log. if ( $details_record_count != $total_count) { push @rejected_files, @filename; print $error_log "$file total count field does not agree ($details_record_count actual, $total_count in file)\n"; }