Matthew,
In your perl version, you could have done this, to be more perlish of course… (I prefer readability/cleanliness/maintainability, hence I use python).
instead of:
$out .= (($i % 3) == 0) ? “fizz” : “”;
you could just use:
$out .= (!($i%3)) ? “fizz” : “”;
This response is only to point out the above, I’m not criticising or ‘correcting’ anything… just pointing out that in perl as with other languages doing a simple NOT operand removes unnecessary right side evaluation operators. The thing that bothers me still about perl is that in my solution, the ratio of punctuation vs. alphanumerics is greater than 2:1 $.=(!($%))?"":""; : out3fizz