Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: ?: (conditional operator)by tune (Curate) |
on Aug 23, 2001 at 17:37 UTC ( [id://107318]=note: print w/replies, xml ) | Need Help?? |
perl -e '$x="\nYo "; print ($x ? $x."hello" : $x."Bye");'
This one is equal. --
In Section
Seekers of Perl Wisdom
|
|