![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: Re: comparing two values under 'perl -w'by kappa (Chaplain) |
on Apr 02, 2002 at 16:57 UTC ( #156062=note: print w/replies, xml ) | Need Help?? |
I like this best of all :) I works (good) and is readable (even more good). The one with ternary operator is shorter, thank you demerphq, but is a little too complicated to my taste. I like ?: myself, but not when they're nested. This code will probably be read by different people including perl novices.
In Section
Seekers of Perl Wisdom
|
|