..or, alternatively:print 'Romeo ' . (($input // 'magic') eq 'to be' ? 'is' : 'is not') . +"\n";
print 'Romeo is' . (($input // 'magic') ne 'to be' ? ' not' : '') . "\ +n";
In reply to Re: defined ? to be : not
by Neighbour
in thread defined ? to be : not
by Don Coyote
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |