Can't use the ternary operator where the if/unless/otherwise is being used as a modifier.
Any negated statement requires one more step of mental processing and it seems to take an extra step with unless to realise that it is negating the condition. The trap is simply that it is unless rather than if.
In reply to Re^2: Useless <c>unless</c>
by GrandFather
in thread Useless unless
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |