in reply to Re^2: Useless unless
in thread Useless unless

I still don't think I quite get this otherwise groove. Would

$a if $b, otherwise $c;

Be equivalent to

$b ? $a : $c;

?

If so, I guess that's kinda cool, if a little confusing. We already have differently-binding text equivalents for the usual symbolic logical operators, why not the good ol' ternary conditional?

FWIW, I use unless instead of if ! all the time. In fact, I am routinely dissapointed by the fact that we don't have a built-in elsunless. :)