in reply to Re: comparing two values under 'perl -w'
in thread comparing two values under 'perl -w'
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.
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: comparing two values under 'perl -w'
by demerphq (Chancellor) on Apr 02, 2002 at 17:09 UTC | |
by kappa (Chaplain) on Apr 02, 2002 at 17:16 UTC |
In Section
Seekers of Perl Wisdom