in reply to Format / Logical Expression / Style Opinions: my, ternary, subroutine, @_
It is considered bad form to use a ternary structure to do things other than return a single value, in general, but I don't mind your use of croak as the "if all else fails" condition. (Update: I later saw this in PBP as well, on page 258 to be exact.)
|
|---|