Try
print +(1 ? 'yes' : 'no') . ' bar';
And then read the top of perlfunc
In reply to Re: Strange interaction between print and the ternary conditional operator
by tybalt89
in thread Strange interaction between print and the ternary conditional operator
by WingedKnight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |