in reply to Re: The FizzBuzz Thing :(
in thread The FizzBuzz Thing :(

DRY? Hmm. I see superfluous variables, print statements in your solution. How about this:

for (1 .. 100) { say "Fizz" x !($_ % 3) . "Buzz" x !($_ % 5) . "Bizz" x /3/ . "Fuzz" x /5/ || $_ }

Replies are listed 'Best First'.
Re^3: The FizzBuzz Thing :(
by choroba (Cardinal) on Dec 25, 2015 at 21:44 UTC
    The main point of similar interview questions is (or should be) to provoke discussion. Is it a good practice to use zero time repetition, or negation of a modulo as a number? Etc. There's no "100% right" solution to the question.
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,