in reply to defined ? to be : not
I dunno, since 5.10, we're given this possibility:
..or, alternatively:print 'Romeo ' . (($input // 'magic') eq 'to be' ? 'is' : 'is not') . +"\n";
print 'Romeo is' . (($input // 'magic') ne 'to be' ? ' not' : '') . "\ +n";
|
---|
In Section
Meditations