my $where = ""; $where = "WHERE status = '$condition'" if $condition;