in reply to Trinary or If'n'Else?
Use the operators for what they were designed, and your code will be infinitely more readable and usable.$some_condition ? &some_sub : &other_sub; if ($some_condition) { $some_var = &something; } else { $some_var = $something_else; }
|
|---|