Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Useless <c>unless</c>by davidrw (Prior) |
on Aug 05, 2005 at 23:25 UTC ( [id://481396]=note: print w/replies, xml ) | Need Help?? |
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'?
In Section
Meditations
|
|