doesn't the ternary operator accomplish this already with b ? a : c; ? (And second example is just (my $o = b) ? a : b;)a if b; c otherwise;
In reply to Re: Useless <c>unless</c>
by davidrw
in thread Useless unless
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |