in reply to Re^2: Useless <c>unless</c>
in thread Useless unless
Can't use the ternary operator where the if/unless/otherwise is being used as a modifier.modifier? do you mean assignment like my $x = $A ? $B : $C; ?
The trap is simply that it is unless rather than if.How is that different a statement being !$x rather than $x and just missing/misreading the 'bang'?
|
|---|