ERROR at line 1: ORA-00001: unique constraint (TBUSOP_1UQ) violated #### open ( logHndl, "$LogFileNm" ) or die ("Failed to open $LogFileNm"); while() { # # Ignore the error with uniqe const # next if /^ORA-00001: unique constraint/; # # grep for keyword ERROR or ORA-ERR # push(@errors, grep (/ERROR|ORA-ERR|Fail|Unable/i, $_)); } close(logHndl);