in reply to Constant with Ternary operation

Welcome! Please read PerlMonks for the Absolute Beginner, and see Unable to assign value to constants using ternary operator.