One can start a holy war (specially in a Perl forum) about more characters/lines versus readability/maintainability. I, for instance, am of the school of thought that goes "as long it does not _obscure_ the meaning, the shorter the better". That way, I prefer
$someVar == $anotherVar ? someFunc() : anotherFunc()
over _any_ of the alternatives because it's elegant, concise and _absolutely_ clear.
ikegami pointed out to me that
?: can get really messy really fast. I agree. But in the case at hand, it's unbeatable IMHO.
[]s, HTH, Massa (κς,πμ,πλ)