Instead of A = test ? A : B, simply A = B unless test. Or test and A=B, if brevity is your thing. (Personally, I also favor and when I'm doing a sequence of steps vs. building a single expression with &&.)
In reply to Re: Is "ref $date eq 'ARRAY'" wrong?
by Roy Johnson
in thread Is "ref $date eq 'ARRAY'" wrong?
by bronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |