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/ || $_ }
In reply to Re^2: The FizzBuzz Thing :(
by Anonymous Monk
in thread The FizzBuzz Thing :(
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |