in reply to Strange interaction between print and the ternary conditional operator
Try
print +(1 ? 'yes' : 'no') . ' bar'; [download]
And then read the top of perlfunc