my $condition = $oracle_connector->opts->condition; #### my $where = ""; $where = "WHERE status = '$condition'" if $condition; #### if ($condition) { $where = "WHERE status = '$condition'" } #### $where = " WHERE status = '$condition'"