... and not defined($odate) && $odate eq '')