Again, I'm out of practice... so please forgive me.
My script does some magic and then, if it succeeds, it defines $found; if it fails then it doesn't. It may also determine a value for $return... or it may not.
Then later, if $found is defined AND $return is defined, then I want to print $return. If $found is defined but $return is not, then I want to print "yes". And if $found is not defined, I want to print "no".
So this is what I have:
$found = true;
($found) ?
print $return //
print 'yes' :
print 'no';
Everything seems good, except that when $found is defined and $return is not, it prints "yes1" (not the trailing "1").
What tha deuce?