Re: if else in the other way
by
snoopy
on
Oct 04, 2010 at 23:41 UTC
(
replies
)
http://www.perlmonks.org?node_id=863472
in reply to
if else in the other way
Another way:
print qw(no yes)[$a == 6]
[download]
In Section
Seekers of Perl Wisdom