in reply to Catching DBI (or other) errors
'or' has a lower precedence than '=', but '||' has a higher precedence, which is what makes parentheses necessary in your original statement.$query->execute() || ($SQL_FAIL =1); $query->execute() or $SQL_FAIL =1;
|
---|