|Just another Perl shrine|
Re^8: in search of a more elegant if then elseby TimToady (Parson)
|on Feb 21, 2010 at 03:13 UTC||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.