in reply to Re^3: Code blocks with ternary operator or trailing conditionals
in thread Code blocks with ternary operator or trailing conditionals

You can factour out the ->() part:
(43 > $x ? sub { print 'Yes, '; print 'it is!'; } : sub { print 'No, '; print 'it is not!'; } )->();
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ