in reply to Secret Perl Operators: the boolean list squash operator, x!!
Two people have already done
scalar x!! $cond
but the parens are required
( scalar ) x!! $cond
>perl -le "@a = 'test' x 0; print scalar @a"
>perl -le "@a = ('test') x 0; print scalar @a"
Fruit and Vegetables
Me, that's why I'm so cool
Logic (separated into Horror and Brilliance)
Results (244 votes). Check out past polls.