![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^8: in search of a more elegant if then elseby TimToady (Parson) |
on Feb 21, 2010 at 03:13 UTC ( #824458=note: print w/replies, xml ) | Need Help?? |
I have a vague preference for the last one, but only because it's most like how I'd actually write it:
or maybe slightly clearer would be: But mathematicians are likely to prefer the list comprehension syntax, I suspect.
In Section
Seekers of Perl Wisdom
|
|