in reply to ternary operator

Try

$OPER = $_ eq 's' ? 's' : 'c';

Cheers,

JohnGG