in reply to Re^2: Ternary if versus normal if questionin thread Ternary if versus normal if question
Beware of strings vs numbers, though. The bitwise ops in Perl are hazardous if used imprudently.
Makeshifts last the longest.