in reply to in search of a more elegant if then else
There is also shellish short circuiting. (I can't say that fast.)
rir
Be well,$var = "condition_false"; $condition and $var = "condition_true;
rir
In Section
Seekers of Perl Wisdom