http://qs321.pair.com?node_id=824628


in reply to in search of a more elegant if then else

There is also shellish short circuiting. (I can't say that fast.)
$var = "condition_false"; $condition and $var = "condition_true;
Be well,
rir