... and not defined($odate) && $odate eq '')
Thinking about it, both can never be true at the same time.
Update: Oh well, twice in a row on the wrong track. :-(
TGI has the precedence right and the problem lies in the first part, not in the second I cited.
In reply to Re^2: if not defined
by pKai
in thread if not defined
by Trihedralguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |