in reply to Checking Variable for Not Null
No. Set $ex_date to 0 as an example.
Update: make sure you are consistent about the meaning of 'null', because Perl doesn't know what that is. Is null undef? Empty string? 0?